Use WebGL 2 again
This commit is contained in:
parent
0175d964b3
commit
b4281607c6
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user