Fix webgl warning

This commit is contained in:
schmelczerandras 2020-10-27 10:51:23 +01:00
parent 6b5ced15ff
commit 32aebe9036

View file

@ -47,7 +47,7 @@ export class RendererImplementation implements Renderer {
private stopwatch?: WebGlStopwatch;
private textures: Array<Texture> = [];
private palette!: PaletteTexture;
private _canvasSize = vec2.create();
private _canvasSize = vec2.fromValues(1, 1);
private canvasResizeObserver!: ResizeObserver;
private applyRuntimeSettings: {