From b4281607c64f0406d871dd92dfb9e9d848416b07 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Sun, 23 Oct 2022 18:59:52 -0600 Subject: [PATCH] Use WebGL 2 again --- panorama-viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panorama-viewer.js b/panorama-viewer.js index c74d46b..e29f506 100644 --- a/panorama-viewer.js +++ b/panorama-viewer.js @@ -133,7 +133,7 @@ }; let viewer = document.getElementById("viewer"); - let gl = viewer.getContext("webgl"); + let gl = viewer.getContext("webgl2"); let program = initShaderProgram(gl); let modelMatrixLocation = gl.getUniformLocation(program, "modelMatrix");