Skip to content

Commit

Permalink
Fix srgb in ImGui
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Jul 7, 2023
1 parent 03f24e6 commit d65c868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/wgpu_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ impl<'a> Renderer<'a> {
// Create Renderer
let renderer_config = imgui_wgpu::RendererConfig {
texture_format: surface_config.format,
fragment_shader_entry_point: Some("fs_main_srgb"),
..Default::default()
};

Expand Down

0 comments on commit d65c868

Please sign in to comment.