Permalink
Browse files

gles: disable NV12 rendering (FIXUP e6e434f).

NV12 is not used in GLES rendering, and the corresponding shader code is wrong
anyway.
  • Loading branch information...
1 parent 26f9612 commit f024e4c7eb8a107b0cfc041d9a46cb5503810628 @gbeauchesne committed Sep 5, 2012
@@ -31,7 +31,7 @@ uniform mat4 m_yuvmat;
void main()
{
-#if defined(XBMC_YV12) || defined(XBMC_NV12)
+#if defined(XBMC_YV12)
vec4 yuv, rgb;
yuv.rgba = vec4( texture2D(m_sampY, m_cordY).r
@@ -222,8 +222,6 @@ BaseYUV2RGBGLSLShader::BaseYUV2RGBGLSLShader(bool rect, unsigned flags, ERenderF
m_format == RENDER_FMT_YUV420P10 ||
m_format == RENDER_FMT_YUV420P16)
m_defines += "#define XBMC_YV12\n";
- else if (m_format == RENDER_FMT_NV12)
- m_defines += "#define XBMC_NV12\n";
else if (m_format == RENDER_FMT_Y_UV)
m_defines += "#define XBMC_Y_UV";
else if (m_format == RENDER_FMT_Y_U_V)

0 comments on commit f024e4c

Please sign in to comment.