Skip to content

Commit

Permalink
less hardcoded texture formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Jan 8, 2025
1 parent f5ae131 commit ce9f9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui_kittest/src/wgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl crate::TestRenderer for WgpuTestRenderer {
mip_level_count: 1,
sample_count: 1,
dimension: wgpu::TextureDimension::D2,
format: wgpu::TextureFormat::Rgba8Unorm,
format: self.render_state.target_format,
usage: wgpu::TextureUsages::RENDER_ATTACHMENT | wgpu::TextureUsages::COPY_SRC,
view_formats: &[],
});
Expand Down

0 comments on commit ce9f9ef

Please sign in to comment.