diff --git a/src/core/renderers/webgl/WebGLState.js b/src/core/renderers/webgl/WebGLState.js index abeb051..cc76ad0 100755 --- a/src/core/renderers/webgl/WebGLState.js +++ b/src/core/renderers/webgl/WebGLState.js @@ -251,6 +251,7 @@ this.nativeVaoExtension.bindVertexArrayOES(null); } + // reset all attributs.. this.resetAttributes(); @@ -260,6 +261,10 @@ this.activeState[i] = 2; } + var gl = this.gl; + gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false); + + this.setState(this.defaultState); };