diff options
Diffstat (limited to 'Runtime/Graphics/Shader.cpp')
-rw-r--r-- | Runtime/Graphics/Shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Runtime/Graphics/Shader.cpp b/Runtime/Graphics/Shader.cpp index 013b1ba..8df3624 100644 --- a/Runtime/Graphics/Shader.cpp +++ b/Runtime/Graphics/Shader.cpp @@ -53,9 +53,9 @@ Shader::Shader(LuaBind::VM*vm, std::string& glslShader) std::string fsh ; try { - GLSLCompiler::Compile(glslShader, vsh, fsh, m_Commands); + GLSCompiler::Compile(glslShader, vsh, fsh, m_Commands); } - catch (GLSLCompileException& e) + catch (GLSCompileException& e) { ReleaseRenderCommandGroup(m_Commands); throw ShaderCompileExecption(e.what()); |