From d65c8681deabd1f69f520107c7a8771ae6dd2771 Mon Sep 17 00:00:00 2001 From: David Chavez Date: Fri, 7 Jul 2023 21:41:13 +0200 Subject: [PATCH] Fix srgb in ImGui --- src/gui/wgpu_renderer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/wgpu_renderer.rs b/src/gui/wgpu_renderer.rs index 54ec5ff..76818e1 100644 --- a/src/gui/wgpu_renderer.rs +++ b/src/gui/wgpu_renderer.rs @@ -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() };