diff options
author | Brian Paul <[email protected]> | 2008-04-29 15:03:06 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-29 15:03:06 -0600 |
commit | 5692e09be8e8d1ed4803b528291b920df183c102 (patch) | |
tree | b78efa1bff03db74382a1e5e17d4b04ea0520a0c /progs/demos/shadowtex.c | |
parent | fce5951b56a84304d0cb0dce4785237d90a71eb2 (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.c | 1 |
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); } |