From 9de800da484eee7732d0985746bc7d8175b27f84 Mon Sep 17 00:00:00 2001 From: John-Mark Allen Date: Sun, 4 Jul 2021 23:04:36 +0100 Subject: [PATCH] Fix comment --- imgui-glow-renderer/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui-glow-renderer/src/lib.rs b/imgui-glow-renderer/src/lib.rs index 769e27e..d3c879e 100644 --- a/imgui-glow-renderer/src/lib.rs +++ b/imgui-glow-renderer/src/lib.rs @@ -793,7 +793,7 @@ uniform mat4 matrix; out vec2 fragment_uv; out vec4 fragment_color; -// Because imgui only specifies linear colors +// Because imgui only specifies sRGB colors vec4 srgb_to_linear(vec4 srgb_color) { // Calcuation as documented by OpenGL vec3 srgb = srgb_color.rgb;