summaryrefslogtreecommitdiff
path: root/alligator_render/src/texture.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-04 11:41:22 -0500
committerMicha White <botahamec@outlook.com>2023-02-04 11:41:22 -0500
commite838982d1abe4134f83a3f4e9db0a3bfb8ebc926 (patch)
tree3c13a7de2e3089de1d25f369aec69f23d075a38e /alligator_render/src/texture.rs
parent3201cf932ac9d6568b57433e47e7aaf68453b568 (diff)
Fix colors
Diffstat (limited to 'alligator_render/src/texture.rs')
-rw-r--r--alligator_render/src/texture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_render/src/texture.rs b/alligator_render/src/texture.rs
index e2021f8..b60eade 100644
--- a/alligator_render/src/texture.rs
+++ b/alligator_render/src/texture.rs
@@ -116,7 +116,7 @@ impl TextureAtlas {
mip_level_count: 1,
sample_count: 1,
dimension: wgpu::TextureDimension::D2,
- format: wgpu::TextureFormat::Rgba8UnormSrgb,
+ format: wgpu::TextureFormat::Rgba8Unorm,
usage: wgpu::TextureUsages::TEXTURE_BINDING | wgpu::TextureUsages::COPY_DST,
view_formats: &[wgpu::TextureFormat::Rgba8UnormSrgb],
});