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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user