We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637db10 commit 06d76d2Copy full SHA for 06d76d2
1 file changed
src/gpu.js
@@ -31,6 +31,9 @@ var GPU = (function() {
31
};
32
33
gl = canvas.getContext("experimental-webgl", glOpt) || canvas.getContext("webgl", glOpt);
34
+ } else {
35
+ canvas = ctx.canvas;
36
+ canvasCpu = document.createElement('canvas');
37
}
38
39
gl.getExtension('OES_texture_float');
0 commit comments