summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2007-12-07 15:20:00 -0800
committerEric Anholt <[email protected]>2007-12-07 15:23:16 -0800
commit3ecdae82d751f9f404d10332f030e3280949ce4e (patch)
tree7de2b0c96bbc281fefa7aa855baca3a595ca6801
parente34a183d870e393187b2c26e37ea1e900c2ab1f7 (diff)
[965] Remove dead code in upload_wm_surfaces.
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index bf1a8668bed..94d72839ffd 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -196,11 +196,8 @@ static void upload_wm_surfaces(struct brw_context *brw )
{
GLcontext *ctx = &brw->intel.ctx;
struct intel_context *intel = &brw->intel;
- struct brw_surface_binding_table bind;
GLuint i;
- memcpy(&bind, &brw->wm.bind, sizeof(bind));
-
{
struct brw_surface_state surf;
struct intel_region *region = brw->state.draw_region;