🆙 Fix firework memory leak and update pixi.js

This commit is contained in:
duckietm
2024-09-13 08:04:35 +02:00
parent 1e4f45a107
commit 14bf0fdcbd
23 changed files with 417 additions and 1469 deletions
+2 -2
View File
@@ -11,10 +11,10 @@
"dependencies": {
"@nitrots/api": "1.0.0",
"pako": "^2.1.0",
"pixi.js": "^8.1.6"
"pixi.js": "^8.2.5"
},
"devDependencies": {
"@types/pako": "^2.0.3",
"typescript": "~5.4.2"
"typescript": "~5.5.4"
}
}
@@ -1,5 +1,4 @@
import { BufferImageSource, Filter, FilterSystem, GlProgram, RenderSurface, Texture } from 'pixi.js';
import { TextureUtils } from '../TextureUtils';
export interface PaletteMapFilterOptions
{
@@ -98,11 +97,6 @@ export class PaletteMapFilter extends Filter
})
});
(async () =>
{
console.log(await TextureUtils.generateImageUrl(lutTexture));
})();
super({
gpuProgram: null,
glProgram,