summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-29 15:02:46 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-29 18:37:41 -0600
commitaef4ca647d1d8275b1586a92485ea6c5bc8e950c (patch)
tree7c81c1fb4ee6f3d44f0a8eadcd09f875991bce0d /progs
parent4e0e02ae684c0286599309ae166cfc716db940d7 (diff)
disable GL_TEXTURE_1D at end of frame to fix failed assertion
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/shadowtex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/shadowtex.c b/progs/demos/shadowtex.c
index c2d40bda74..b6bdbe467c 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);
}