Skip to content

Commit 32b8de2

Browse files
author
Mike Solomon
committed
Removes spurious flag on canvas
1 parent d0d7e90 commit 32b8de2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sandbox/Sandbox.purs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,9 +892,7 @@ fn main(@location(0) inColor: vec3<f32>) -> @location(0) vec4<f32> {
892892
(config :: GPUCanvasConfiguration) = x
893893
{ device
894894
, format: GPUTextureFormat.bgra8unorm
895-
, usage:
896-
GPUTextureUsage.renderAttachment .|.
897-
GPUTextureUsage.copySrc
895+
, usage: GPUTextureUsage.renderAttachment
898896
, alphaMode: opaque
899897
}
900898
liftEffect $ configure context config

0 commit comments

Comments
 (0)