diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-04-29 15:03:06 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-04-29 15:03:06 -0600 |
commit | 5692e09be8e8d1ed4803b528291b920df183c102 (patch) | |
tree | b78efa1bff03db74382a1e5e17d4b04ea0520a0c | |
parent | fce5951b56a84304d0cb0dce4785237d90a71eb2 (diff) |
disable GL_TEXTURE_1D at end of frame to fix failed assertion
-rw-r--r-- | progs/demos/shadowtex.c | 1 |
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); } |