Skip to content

Commit

Permalink
native/wasm: Rollback webgl2 in gl.js
Browse files Browse the repository at this point in the history
It was not never supposed to be webgl2, rolling back the accidental change.
  • Loading branch information
not-fl3 committed Aug 15, 2023
1 parent 63a0837 commit f9a03ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
const version = "0.3.12";

const canvas = document.querySelector("#glcanvas");
const gl = canvas.getContext("webgl2");
const gl = canvas.getContext("webgl");
if (gl === null) {
alert("Unable to initialize WebGL. Your browser or machine may not support it.");
}
Expand Down

0 comments on commit f9a03ab

Please sign in to comment.