mesa: remove unused texenv_fragment_program::ctx field
authorBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 22:03:28 +0000 (16:03 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 23:39:32 +0000 (17:39 -0600)
src/mesa/main/texenvprogram.c

index 8c588538b11082af2b24f539a7deb51738a5cec9..5c61c97354fe7dc5eb47b886366dd0059a406038 100644 (file)
@@ -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;