Update dependencies

This commit is contained in:
Matthias Schiffer 2019-12-24 14:25:03 +01:00
parent 3c51a1994f
commit 53c1852757
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
5 changed files with 2685 additions and 2628 deletions

View file

@ -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');