disable GL_TEXTURE_1D at end of frame to fix failed assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 29 Apr 2008 21:02:46 +0000 (15:02 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 30 Apr 2008 00:37:41 +0000 (18:37 -0600)
progs/demos/shadowtex.c

index c2d40bda74ea601d8e917737d4db40c2105048bb..b6bdbe467c569aa313322715090b50a4c6df33f1 100644 (file)
@@ -658,6 +658,7 @@ Display(void)
          glDisable(GL_FRAGMENT_PROGRAM_ARB);
       }
 
+      glDisable(GL_TEXTURE_1D);
       glDisable(GL_TEXTURE_2D);
    }