Fix comment

This commit is contained in:
John-Mark Allen 2021-07-04 23:04:36 +01:00 committed by Jack Spira
parent 84020a6bc0
commit 9de800da48

View File

@ -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;