Skip to content

Commit

Permalink
blade: Fix incorrect texture format (zed-industries#10524)
Browse files Browse the repository at this point in the history
  • Loading branch information
apricotbucket28 authored Apr 14, 2024
1 parent 3289188 commit 556ecd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gpui/src/platform/blade/blade_atlas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 556ecd9

Please sign in to comment.