diff --git a/src/client/main.ts b/src/client/main.ts index 479361c..ca52312 100644 --- a/src/client/main.ts +++ b/src/client/main.ts @@ -17,7 +17,7 @@ main(); */ async function main() { const canvas: any = document.querySelector('#glCanvas')!; - const gl = canvas.getContext('webgl'); + const gl = canvas.getContext('webgl2'); if (gl == null) { canvas.parentNode.removeChild(canvas);