summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-07-12 09:48:08 -0700
committerEric Anholt <[email protected]>2011-07-18 11:26:33 -0700
commit15af0f54b87ea337d419b50010037a3db8e2503c (patch)
tree90f3125d4f05ee44f667030b78504ac12f63a66d
parentdd898c3e89597f841a55272be1ccc07345500f60 (diff)
i965: Remove empty brw_set_draw_region.
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vtbl.c14
1 files changed, 0 insertions, 14 deletions
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 */
@@ -262,17 +260,6 @@ brw_update_draw_buffer(struct intel_context *intel)
}
/**
- * 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;