From: Brian Paul Date: Tue, 1 Sep 2009 22:03:28 +0000 (-0600) Subject: mesa: remove unused texenv_fragment_program::ctx field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95136694ab28829f75c0a9f955a79836a0c433c7;p=mesa.git mesa: remove unused texenv_fragment_program::ctx field --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 8c588538b11..5c61c97354f 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -474,7 +474,6 @@ static const struct ureg undef = { */ struct texenv_fragment_program { struct gl_fragment_program *program; - GLcontext *ctx; struct state_key *state; GLbitfield alu_temps; /**< Track texture indirections, see spec. */ @@ -1345,7 +1344,6 @@ create_new_program(GLcontext *ctx, struct state_key *key, struct ureg cf, out; _mesa_memset(&p, 0, sizeof(p)); - p.ctx = ctx; p.state = key; p.program = program;