diff --git a/CHANGELOG.md b/CHANGELOG.md index 878c277..7ade0a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.0.2 + +Updated deprecated `WGSLCanvas.textures` type + # 0.0.1 Initial release diff --git a/package-lock.json b/package-lock.json index 0cf57ea..2c37c48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1023,7 +1023,7 @@ }, "packages/core": { "name": "@wgsl-canvas/core", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "devDependencies": { "@webgpu/types": "^0.1.51", diff --git a/packages/core/package.json b/packages/core/package.json index 728fe2a..63dfcbe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@wgsl-canvas/core", - "version": "0.0.1", + "version": "0.0.2", "description": "Simple way to run WebGPU shaders on HTML Canvas", "keywords": [ "gpu", diff --git a/packages/core/src/WGSLCanvas.ts b/packages/core/src/WGSLCanvas.ts index 74ae723..eeb903f 100644 --- a/packages/core/src/WGSLCanvas.ts +++ b/packages/core/src/WGSLCanvas.ts @@ -14,7 +14,7 @@ export class WGSLCanvas { /** * Textures list */ - public textures: GPUImageCopyExternalImageSource[] = []; + public textures: GPUCopyExternalImageSource[] = []; /** * Default fragment shader