summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-01-31 21:40:05 -0800
committerKenneth Graunke <[email protected]>2014-01-31 21:40:27 -0800
commit80bf1fbaf6bb3d9b7a8543ea764c6d19887ac0b8 (patch)
tree7f1ea0bd48838d4a46ea658270e661fd0c3abbc5
parente1cdafe6f78b4e271fd22da2e8d92c2684282e77 (diff)
i965: Silence unused variable 'ctx' warning.
Somehow I missed this before pushing the Broadwell PS state upload code. Signed-off-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/gen8_ps_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_ps_state.c b/src/mesa/drivers/dri/i965/gen8_ps_state.c
index ab83e413b2c..b45da8f721e 100644
--- a/src/mesa/drivers/dri/i965/gen8_ps_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_ps_state.c
@@ -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);