diff options
author | mcgeagh <mcgeagh@svn> | 2009-10-08 14:14:12 +0000 |
---|---|---|
committer | mcgeagh <mcgeagh@svn> | 2009-10-08 14:14:12 +0000 |
commit | 5e3737034db92ce96f3e56a76a7a3dd46987096b (patch) | |
tree | 00dc905008e445b3a48570a669be0fbb79dd2df2 /guilib/Shader.h | |
parent | f5607af83a4f20f8166a426f9fa80b5ec5b30139 (diff) |
FIXED: Vertex shader being passed to both Vertex and Fragment shader as their source, in the constructor thats never called
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23535 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Shader.h')
-rw-r--r-- | guilib/Shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/Shader.h b/guilib/Shader.h index b3e70f6fbf..d12e971cdb 100644 --- a/guilib/Shader.h +++ b/guilib/Shader.h @@ -198,7 +198,7 @@ namespace Shaders { , const std::string& frag) { m_pFP = new CGLSLPixelShader(); - m_pFP->LoadSource(vert); + m_pFP->LoadSource(frag); m_pVP = new CGLSLVertexShader(); m_pVP->LoadSource(vert); } |