Skip to content

Commit 4c1d174

Browse files
committed
quick test
1 parent 6310dcc commit 4c1d174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scami/src/platform/wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub(crate) fn setup_window(
8080

8181
let mut pixels =
8282
pixels::PixelsBuilder::new(INIT_WIDTH as u32, INIT_HEIGHT as u32, surface_texture)
83-
.surface_texture_format(pixels::wgpu::TextureFormat::Bgra8Unorm)
83+
.surface_texture_format(pixels::wgpu::TextureFormat::Rgba8Unorm)
8484
.texture_format(pixels::wgpu::TextureFormat::Rgba8Unorm)
8585
.build_async()
8686
.await

0 commit comments

Comments
 (0)