summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 715e5f8d63..07b3b9ebb6 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -1348,7 +1348,7 @@ static void pass_convert_yuv(struct gl_video *p)
// Pre-colormatrix input gamma correction. Note that this results in
// linear light
- GLSL(color.rgb *= vec3(2.6);)
+ GLSL(color.rgb = pow(color.rgb, vec3(2.6));)
}
// Conversion from Y'CbCr or other linear spaces to RGB