summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-29 15:03:06 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-29 15:03:06 -0600
commit5692e09be8e8d1ed4803b528291b920df183c102 (patch)
treeb78efa1bff03db74382a1e5e17d4b04ea0520a0c
parentfce5951b56a84304d0cb0dce4785237d90a71eb2 (diff)
disable GL_TEXTURE_1D at end of frame to fix failed assertion
-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 59253e8c1e..0574175935 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);
}