i965: Mostly fix glsl-max-varyings.
[mesa.git] / src / mesa / drivers / dri / i965 / gen6_scissor_state.c
index 2e21e5f733573f4c235ae4c9a130995e772c8516..34a9dc234c26d86bf00c0f091465812a966ae41b 100644 (file)
@@ -63,8 +63,7 @@ prepare_scissor_state(struct brw_context *brw)
 
    drm_intel_bo_unreference(brw->sf.state_bo);
    brw->sf.state_bo = brw_cache_data(&brw->cache, BRW_SF_UNIT,
-                                    &scissor, sizeof(scissor),
-                                    NULL, 0);
+                                    &scissor, sizeof(scissor));
 }
 
 const struct brw_tracked_state gen6_scissor_state = {