From 5692e09be8e8d1ed4803b528291b920df183c102 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Apr 2008 15:03:06 -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 59253e8c1e3..05741759354 100644 --- a/progs/demos/shadowtex.c +++ b/progs/demos/shadowtex.c @@ -650,6 +650,7 @@ Display(void) glDisable(GL_FRAGMENT_PROGRAM_ARB); } + glDisable(GL_TEXTURE_1D); glDisable(GL_TEXTURE_2D); } -- 2.30.2