aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/shadowtex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-29 15:03:06 -0600
committerBrian Paul <[email protected]>2008-04-29 15:03:06 -0600
commit5692e09be8e8d1ed4803b528291b920df183c102 (patch)
treeb78efa1bff03db74382a1e5e17d4b04ea0520a0c /progs/demos/shadowtex.c
parentfce5951b56a84304d0cb0dce4785237d90a71eb2 (diff)
disable GL_TEXTURE_1D at end of frame to fix failed assertion
Diffstat (limited to 'progs/demos/shadowtex.c')
-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 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);
}