From: Kenneth Graunke Date: Sat, 1 Feb 2014 05:40:05 +0000 (-0800) Subject: i965: Silence unused variable 'ctx' warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80bf1fbaf6bb3d9b7a8543ea764c6d19887ac0b8;p=mesa.git i965: Silence unused variable 'ctx' warning. Somehow I missed this before pushing the Broadwell PS state upload code. Signed-off-by: Kenneth Graunke --- 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);