Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f024e4c7eb8a107b0cfc041d9a46cb5503810628 1 parent 26f9612
Gwenole Beauchesne authored
2  system/shaders/yuv2rgb_basic_gles.glsl
View
@@ -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
2  xbmc/cores/VideoRenderers/VideoShaders/YUV2RGBShader.cpp
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.