diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/runtime/view/renderer/renderer.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/renderer/runtime/view/renderer/renderer.ts b/src/renderer/runtime/view/renderer/renderer.ts index 9f711d3..90583a6 100644 --- a/src/renderer/runtime/view/renderer/renderer.ts +++ b/src/renderer/runtime/view/renderer/renderer.ts @@ -89,9 +89,7 @@ export class Renderer { } private mkContext(): WebGLRenderingContext { - const gl = ( - this.canvas.getContext('webgl') || this.canvas.getContext('experimental-webgl') - ); + const gl = this.canvas.getContext('webgl'); if (!gl) throw new Error('unable to initialize WebGL context'); |