Bump dependencies

This commit is contained in:
Andras Schmelczer 2026-06-06 14:58:32 +01:00
parent 346fc96df8
commit c6438a9e21
20 changed files with 115 additions and 72 deletions

View file

@ -135,7 +135,7 @@ export class ParallelCompiler {
private prettyPrintErrorsIfThereAreAny(shader: ShaderWithSource) {
try {
this.checkShader(shader);
} catch (e) {
} catch (e: any) {
for (const match of e.toString().matchAll(/ERROR: 0:(\d+): (.*)$/gm)) {
const line = Number.parseInt(match[1]);
const error = match[2];

View file

@ -6,7 +6,10 @@ import { Texture } from './texture';
export class PaletteTexture extends Texture {
public static readonly textureUnitId = 2;
constructor(gl: UniversalRenderingContext, private readonly paletteSize: number) {
constructor(
gl: UniversalRenderingContext,
private readonly paletteSize: number
) {
super(gl, PaletteTexture.textureUnitId);
}

View file

@ -230,7 +230,8 @@ export class RendererImplementation implements Renderer {
this.stopwatch.start();
} else {
this.stopwatch.tryGetResults();
this.gl.insights.gpuRenderTimeInMilliseconds = this.stopwatch.resultsInMilliseconds;
this.gl.insights.gpuRenderTimeInMilliseconds =
this.stopwatch.resultsInMilliseconds;
}
}