aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-01 16:03:28 -0600
committerBrian Paul <[email protected]>2009-09-01 17:39:32 -0600
commit95136694ab28829f75c0a9f955a79836a0c433c7 (patch)
treeea6516ccd1237eba70aae4da7a484586f0ff1388
parent1480bcacfec8f215c5827278a5f984c6bf68ba69 (diff)
mesa: remove unused texenv_fragment_program::ctx field
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 0 insertions, 2 deletions
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;