forked from 1b-agent/opencadstudio-upstream
fix(image): preserve raster brightness
This commit is contained in:
1 parent
464971969c
commit
87193ce22e
1 file changed
+1
-1
@@ -223,7 +223,7 @@ impl ImageGpu {
|
|||||||
mip_level_count: 1,
|
mip_level_count: 1,
|
||||||
sample_count: 1,
|
sample_count: 1,
|
||||||
dimension: wgpu::TextureDimension::D2,
|
dimension: wgpu::TextureDimension::D2,
|
||||||
format: wgpu::TextureFormat::Rgba8UnormSrgb,
|
format: wgpu::TextureFormat::Rgba8Unorm,
|
||||||
usage: wgpu::TextureUsages::TEXTURE_BINDING
|
usage: wgpu::TextureUsages::TEXTURE_BINDING
|
||||||
| wgpu::TextureUsages::COPY_DST,
|
| wgpu::TextureUsages::COPY_DST,
|
||||||
view_formats: &[],
|
view_formats: &[],
|
||||||
|
|||||||
Reference in new issue
Block a user