Skip to content

Commit ebcca17

Browse files
committed
Fix #1 wrong texture format
1 parent 6390f24 commit ebcca17

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nuance"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["Guillaume Anthouard <[email protected]>"]
55
edition = "2018"
66
include = ["src/**/*", "LICENSE", "README.md"]

src/app/renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Renderer {
9090
.await?;
9191

9292
// The output format
93-
let format = TextureFormat::Rgba8UnormSrgb;
93+
let format = TextureFormat::Bgra8UnormSrgb;
9494
let window_size = window.inner_size();
9595

9696
surface.configure(

0 commit comments

Comments
 (0)