Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var blocking_event_loop = false;

function init_webgl(version) {
if (version == 1) {
gl = canvas.getContext("webgl");
gl = canvas.getContext("webgl2");

function acquireVertexArrayObjectExtension(ctx) {
// Extension available in WebGL 1 from Firefox 25 and WebKit 536.28/desktop Safari 6.0.3 onwards. Core feature in WebGL 2.
Expand Down
Loading