From: Eric Anholt Date: Tue, 12 Jul 2011 16:48:08 +0000 (-0700) Subject: i965: Remove empty brw_set_draw_region. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15af0f54b87ea337d419b50010037a3db8e2503c;p=mesa.git i965: Remove empty brw_set_draw_region. Reviewed-by: Chad Versace --- diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index 16099386565..5f67239faeb 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -230,8 +230,6 @@ brw_update_draw_buffer(struct intel_context *intel) intel->NewGLState |= (_NEW_DEPTH | _NEW_STENCIL); } - intel->vtbl.set_draw_region(intel, colorRegions, depthRegion, - fb->_NumColorDrawBuffers); intel->NewGLState |= _NEW_BUFFERS; /* update viewport since it depends on window size */ @@ -261,17 +259,6 @@ brw_update_draw_buffer(struct intel_context *intel) intel->NewGLState |= _NEW_POLYGON; } -/** - * called from intelDrawBuffer() - */ -static void brw_set_draw_region( struct intel_context *intel, - struct intel_region *color_regions[], - struct intel_region *depth_region, - GLuint num_color_regions) -{ -} - - /** * called from intel_batchbuffer_flush and children before sending a * batchbuffer off. @@ -347,7 +334,6 @@ void brwInitVtbl( struct brw_context *brw ) brw->intel.vtbl.finish_batch = brw_finish_batch; brw->intel.vtbl.destroy = brw_destroy_context; brw->intel.vtbl.update_draw_buffer = brw_update_draw_buffer; - brw->intel.vtbl.set_draw_region = brw_set_draw_region; brw->intel.vtbl.debug_batch = brw_debug_batch; brw->intel.vtbl.render_target_supported = brw_render_target_supported; brw->intel.vtbl.is_hiz_depth_format = brw_is_hiz_depth_format;