From: Eric Anholt Date: Fri, 7 Dec 2007 23:20:00 +0000 (-0800) Subject: [965] Remove dead code in upload_wm_surfaces. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ecdae82d751f9f404d10332f030e3280949ce4e;p=mesa.git [965] Remove dead code in upload_wm_surfaces. --- 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;