diff --git a/examples/webgpu-fractal-cube.ts b/examples/webgpu-fractal-cube.ts index 4cc3beb..cd89a8d 100644 --- a/examples/webgpu-fractal-cube.ts +++ b/examples/webgpu-fractal-cube.ts @@ -114,7 +114,7 @@ context.configure({ device, format: presentationFormat, usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.COPY_SRC, -// alphaMode: "premultiplied", + // alphaMode: "premultiplied", width, height, }); diff --git a/examples/webgpu.ts b/examples/webgpu.ts index 76dd78a..142bc9a 100644 --- a/examples/webgpu.ts +++ b/examples/webgpu.ts @@ -47,4 +47,4 @@ await mainloop(() => { device.queue.submit([commandEncoder.finish()]); surface.present(); -}, false); \ No newline at end of file +}, false);