Closed subblue closed 12 years ago
As described here: http://www.khronos.org/webgl/wiki/HandlingContextLost
If you pass debug: true when creating a GLOW.Context and also have the WebGLDebugUtils loaded (https://www.khronos.org/registry/webgl/sdk/debug/webgl-debug.js) then you can simulate a lost context event with: canvas.loseContext()
debug: true
canvas.loseContext()
Fantastic!
As described here: http://www.khronos.org/webgl/wiki/HandlingContextLost
If you pass
debug: true
when creating a GLOW.Context and also have the WebGLDebugUtils loaded (https://www.khronos.org/registry/webgl/sdk/debug/webgl-debug.js) then you can simulate a lost context event with:canvas.loseContext()