diff options
Diffstat (limited to 'system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl')
-rw-r--r-- | system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl b/system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl index cdf3c56a71..8d7e0c3530 100644 --- a/system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl +++ b/system/shaders/GL/1.2/gl_yuv2rgb_vertex.glsl @@ -32,6 +32,7 @@ void main () { mat4 mvp = m_proj * m_model; gl_Position = mvp * m_attrpos; + gl_Position.z = -1. * gl_Position.w; m_cordY = m_attrcordY; m_cordU = m_attrcordU; m_cordV = m_attrcordV; |