Fix webgl warning
This commit is contained in:
parent
6b5ced15ff
commit
32aebe9036
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue