summaryrefslogtreecommitdiffstats
path: root/src/renderer/runtime
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2019-12-24 14:25:03 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2019-12-24 14:25:03 +0100
commit53c18527578b313e767810cedf0b1979d3e6cd77 (patch)
tree089efe0e84c0a02a01a3a7e14fca70d7eb1980b8 /src/renderer/runtime
parent3c51a1994f41b625823c4f15e92396b5498ce23c (diff)
downloadrpgedit-53c18527578b313e767810cedf0b1979d3e6cd77.tar
rpgedit-53c18527578b313e767810cedf0b1979d3e6cd77.zip
Update dependencies
Diffstat (limited to 'src/renderer/runtime')
-rw-r--r--src/renderer/runtime/view/renderer/renderer.ts4
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');