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

index 59253e8c1e300aa6efef38b9ccef6f8450eacca1..05741759354fecd01cb9a28b7afaefd84427294c 100644 (file)
@@ -650,6 +650,7 @@ Display(void)
          glDisable(GL_FRAGMENT_PROGRAM_ARB);
       }
 
+      glDisable(GL_TEXTURE_1D);
       glDisable(GL_TEXTURE_2D);
    }