summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Shader.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-03 19:14:51 +0800
committerchai <chaifix@163.com>2021-11-03 19:14:51 +0800
commitcc68bba3a4e1a78bc8b62a5902230a4ae5043ccb (patch)
tree7fdfac53e0a79699393537e671ccde6e7b482c0d /Runtime/Graphics/Shader.cpp
parent08ddd44b634d4da78edd0964f539a310544c7883 (diff)
* rename .GLSL(gamelab shading language) to .GLS(gamelab shader)
Diffstat (limited to 'Runtime/Graphics/Shader.cpp')
-rw-r--r--Runtime/Graphics/Shader.cpp4
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());