From aef4ca647d1d8275b1586a92485ea6c5bc8e950c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Apr 2008 15:02:46 -0600 Subject: [PATCH] disable GL_TEXTURE_1D at end of frame to fix failed assertion --- progs/demos/shadowtex.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2