diff options
author | Brian Paul <[email protected]> | 2003-03-15 17:33:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-15 17:33:25 +0000 |
commit | 350353adcd75f94fda63c787c86961716114e0bf (patch) | |
tree | d91f40c8a2d55f4f0e3e12d14dc075a8af83b92e /src/mesa/main/enable.c | |
parent | add99d01ee7bf22e87c2c13b3476f6d70d0b3a7d (diff) |
Fix up some fragment program texture enable issues.
Implemented TXD instruction.
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index eb46976abb0..9192abd4aca 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1,4 +1,4 @@ -/* $Id: enable.c,v 1.75 2003/03/01 01:50:20 brianp Exp $ */ +/* $Id: enable.c,v 1.76 2003/03/15 17:33:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -884,7 +884,7 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state ) CHECK_EXTENSION(NV_fragment_program, cap); if (ctx->FragmentProgram.Enabled == state) return; - FLUSH_VERTICES(ctx, _NEW_PROGRAM); + FLUSH_VERTICES(ctx, _NEW_PROGRAM | _NEW_TEXTURE); ctx->FragmentProgram.Enabled = state; break; #endif /* FEATURE_NV_fragment_program */ |