diff options
author | bobo1on1 <bobo1on1@svn> | 2010-07-10 11:44:25 +0000 |
---|---|---|
committer | bobo1on1 <bobo1on1@svn> | 2010-07-10 11:44:25 +0000 |
commit | aef0b1901d59ccfa172a8069ee1ef38c0b4c0bdf (patch) | |
tree | 61644739e513802badbd3a36b0518f65b6d3fe7a /guilib/Shader.cpp | |
parent | 57ec3a8656a315bb63fec8e50bc2a368f7607426 (diff) |
added: YUY2 to rgb conversion with shaders
removed: double upload for YUY2
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31688 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Shader.cpp')
-rw-r--r-- | guilib/Shader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guilib/Shader.cpp b/guilib/Shader.cpp index abdf5d441b..ee2aa83977 100644 --- a/guilib/Shader.cpp +++ b/guilib/Shader.cpp @@ -251,7 +251,10 @@ bool CARBPixelShader::Compile() glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &err); if (err>0) { - CLog::Log(LOGERROR, "GL: Error compiling ARB pixel shader"); + const char* errStr = (const char*)glGetString(GL_PROGRAM_ERROR_STRING_ARB); + if (!errStr) + errStr = "NULL"; + CLog::Log(LOGERROR, "GL: Error compiling ARB pixel shader, GL_PROGRAM_ERROR_STRING_ARB = %s", errStr); m_compiled = false; } else |