Update to angular 18

This commit is contained in:
2026-03-24 21:00:57 +01:00
parent a0763b6d14
commit 5517fb5e0f
3 changed files with 2469 additions and 2044 deletions
+2 -2
View File
@@ -25,14 +25,14 @@ export function getWebGLContext(canvas: HTMLCanvasElement): WebGLRenderingContex
const useDebugContext = false;
if (useDebugContext) {
gl = makeDebugContext(gl);
gl = makeDebugContext(gl as WebGLRenderingContext);
if (!gl) {
throw new Error(WEBGL_CREATION_ERROR);
}
}
return gl;
return gl as WebGLRenderingContext;
}
export function isWebGL2(gl: WebGLRenderingContext | undefined) {