blade: Fix incorrect texture format (#10524)
Fixes image rendering Closes https://github.com/zed-industries/zed/issues/10505 Before:  After:  Release Notes: - N/A
This commit is contained in:
parent
3289188e0a
commit
556ecd94c2
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ impl BladeAtlasState {
|
|||
usage = gpu::TextureUsage::COPY | gpu::TextureUsage::RESOURCE;
|
||||
}
|
||||
AtlasTextureKind::Polychrome => {
|
||||
format = gpu::TextureFormat::Rgba8Unorm;
|
||||
format = gpu::TextureFormat::Bgra8Unorm;
|
||||
usage = gpu::TextureUsage::COPY | gpu::TextureUsage::RESOURCE;
|
||||
}
|
||||
AtlasTextureKind::Path => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue