diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-12-24 14:25:03 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-12-24 14:25:03 +0100 |
commit | 53c18527578b313e767810cedf0b1979d3e6cd77 (patch) | |
tree | 089efe0e84c0a02a01a3a7e14fca70d7eb1980b8 /src/renderer/runtime/view | |
parent | 3c51a1994f41b625823c4f15e92396b5498ce23c (diff) | |
download | rpgedit-53c18527578b313e767810cedf0b1979d3e6cd77.tar rpgedit-53c18527578b313e767810cedf0b1979d3e6cd77.zip |
Update dependencies
Diffstat (limited to 'src/renderer/runtime/view')
-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'); |