i965: Silence unused variable 'ctx' warning.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 05:40:05 +0000 (21:40 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 05:40:27 +0000 (21:40 -0800)
Somehow I missed this before pushing the Broadwell PS state upload code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen8_ps_state.c

index ab83e413b2cb069a3deb92d104c29f0a76605d75..b45da8f721eca188882134eaff875f4cb9fb6a90 100644 (file)
@@ -29,7 +29,6 @@
 static void
 upload_ps_extra(struct brw_context *brw)
 {
-   struct gl_context *ctx = &brw->ctx;
    /* BRW_NEW_FRAGMENT_PROGRAM */
    const struct brw_fragment_program *fp =
       brw_fragment_program_const(brw->fragment_program);