diff options
author | Brian Paul <[email protected]> | 2008-04-29 15:02:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-29 18:37:41 -0600 |
commit | aef4ca647d1d8275b1586a92485ea6c5bc8e950c (patch) | |
tree | 7c81c1fb4ee6f3d44f0a8eadcd09f875991bce0d | |
parent | 4e0e02ae684c0286599309ae166cfc716db940d7 (diff) |
disable GL_TEXTURE_1D at end of frame to fix failed assertion
-rw-r--r-- | progs/demos/shadowtex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/shadowtex.c b/progs/demos/shadowtex.c index c2d40bda74e..b6bdbe467c5 100644 --- a/progs/demos/shadowtex.c +++ b/progs/demos/shadowtex.c @@ -658,6 +658,7 @@ Display(void) glDisable(GL_FRAGMENT_PROGRAM_ARB); } + glDisable(GL_TEXTURE_1D); glDisable(GL_TEXTURE_2D); } |