diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-01-18 12:52:43 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-01-18 12:52:43 +0200 |
commit | 7a1c4076a28a4a7eee344dff199c43d03c996f2c (patch) | |
tree | 93b984dc1cfc9cd830de394f59f602d47bf4ac4c | |
parent | ac244127bf487f7d74f894412a5e54b8850c0e86 (diff) |
Fix GL emulation cleanup to properly update the state it changes.
-rw-r--r-- | src/library_gl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 1b6a47a4..781a07d9 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -3972,6 +3972,7 @@ var LibraryGL = { } if (!GL.currProgram) { GLctx.useProgram(null); + GLImmediate.fixedFunctionProgram = 0; } if (!GL.currArrayBuffer) { GLctx.bindBuffer(GLctx.ARRAY_BUFFER, null); |