Bump dependencies
This commit is contained in:
parent
346fc96df8
commit
c6438a9e21
20 changed files with 115 additions and 72 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue