diff options
| author | s-ol <s+removethis@s-ol.nu> | 2026-05-05 16:28:46 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2026-05-14 15:00:13 +0000 |
| commit | 06db91ce8e8c9dd5993077423c1400d9e81d6ad0 (patch) | |
| tree | cc89f5f2ecc5e32f1d610aaf64b2729477188ad6 /src/bin/tsv_view.rs | |
| parent | tsv-video-*: share code (diff) | |
| download | wgsl-view-main.tar.gz wgsl-view-main.zip | |
Diffstat (limited to '')
| -rw-r--r-- | src/bin/tsv_view.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/tsv_view.rs b/src/bin/tsv_view.rs index 885a8c4..13cb06d 100644 --- a/src/bin/tsv_view.rs +++ b/src/bin/tsv_view.rs @@ -72,7 +72,7 @@ impl ApplicationHandler for App { let surface_format = surface_caps .formats .iter() - .find(|f| f.is_srgb()) + .find(|f| !f.is_srgb()) .copied() .unwrap_or(surface_caps.formats[0]); @@ -91,7 +91,7 @@ impl ApplicationHandler for App { 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: &[], }); |
