aboutsummaryrefslogtreecommitdiff
path: root/system/shaders/GL/1.5/gl_convolution-6x6.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'system/shaders/GL/1.5/gl_convolution-6x6.glsl')
-rw-r--r--system/shaders/GL/1.5/gl_convolution-6x6.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/shaders/GL/1.5/gl_convolution-6x6.glsl b/system/shaders/GL/1.5/gl_convolution-6x6.glsl
index b4410cc184..691789d91d 100644
--- a/system/shaders/GL/1.5/gl_convolution-6x6.glsl
+++ b/system/shaders/GL/1.5/gl_convolution-6x6.glsl
@@ -79,5 +79,9 @@ vec4 process()
rgb.a = m_alpha;
+#if defined(KODI_GAMMA_LINEARIZATION_FAST)
+ rgb.rgb *= rgb.rgb;
+#endif
+
return rgb;
}