[965] Remove dead code in upload_wm_surfaces.
authorEric Anholt <eric@anholt.net>
Fri, 7 Dec 2007 23:20:00 +0000 (15:20 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 7 Dec 2007 23:23:16 +0000 (15:23 -0800)
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index bf1a8668bed1c1b664c82491f9ba6f1fde669391..94d72839ffde0967e1183ca2b8d16c06c12a214c 100644 (file)
@@ -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;