mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 06:28:36 +00:00
Fix comment
This commit is contained in:
parent
84020a6bc0
commit
9de800da48
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user