diff options
Diffstat (limited to 'system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag')
-rw-r--r-- | system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag b/system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag index 9f478ed3da..7db591c84e 100644 --- a/system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag +++ b/system/shaders/GLES/2.0/gles_shader_texture_noalpha.frag @@ -11,6 +11,7 @@ precision mediump float; uniform sampler2D m_samp0; varying vec4 m_cord0; +uniform float m_sdrPeak; void main () { @@ -21,5 +22,9 @@ void main () rgb += 16.0 / 255.0; #endif +#if defined(KODI_TRANSFER_PQ) + rgb.rgb *= m_sdrPeak; +#endif + gl_FragColor = vec4(rgb, 1.0); } |