From 80bf1fbaf6bb3d9b7a8543ea764c6d19887ac0b8 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 31 Jan 2014 21:40:05 -0800 Subject: [PATCH] i965: Silence unused variable 'ctx' warning. Somehow I missed this before pushing the Broadwell PS state upload code. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen8_ps_state.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2