added: print defines for yuv glsl shader
authorbobo1on1 <bobo1on1@svn>
Mon, 9 Aug 2010 16:22:54 +0000 (16:22 +0000)
committerbobo1on1 <bobo1on1@svn>
Mon, 9 Aug 2010 16:22:54 +0000 (16:22 +0000)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@32648 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/cores/VideoRenderers/VideoShaders/VideoFilterShader.cpp
xbmc/cores/VideoRenderers/VideoShaders/YUV2RGBShader.cpp

index ada257a..227359c 100644 (file)
@@ -120,7 +120,7 @@ ConvolutionFilterShader::ConvolutionFilterShader(ESCALINGMETHOD method, bool str
   defines += "#define USE1DTEXTURE 0\n";
 #endif
 
-  CLog::Log(LOGDEBUG, "GL: ConvolutionFilterShader: using %s defines: %s", shadername.c_str(), defines.c_str());
+  CLog::Log(LOGDEBUG, "GL: ConvolutionFilterShader: using %s defines:\n%s", shadername.c_str(), defines.c_str());
   PixelShader()->LoadSource(shadername, defines);
 }
 
index d255fb9..86b0bea 100644 (file)
@@ -197,6 +197,8 @@ BaseYUV2RGBGLSLShader::BaseYUV2RGBGLSLShader(bool rect, unsigned flags, bool str
 
   VertexShader()->LoadSource("yuv2rgb_vertex_gles.glsl", m_defines);
 #endif
+
+  CLog::Log(LOGDEBUG, "GL: BaseYUV2RGBGLSLShader: defines:\n%s", m_defines.c_str());
 }
 
 void BaseYUV2RGBGLSLShader::OnCompiledAndLinked()