From cc68bba3a4e1a78bc8b62a5902230a4ae5043ccb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 3 Nov 2021 19:14:51 +0800 Subject: * rename .GLSL(gamelab shading language) to .GLS(gamelab shader) --- Runtime/Graphics/Shader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Runtime/Graphics/Shader.cpp') 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()); -- cgit v1.1-26-g67d0