diff options
author | chai <chaifix@163.com> | 2021-10-31 19:47:57 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-31 19:47:57 +0800 |
commit | e5ffcfb43231c55c1cdd71566e622de7583160a9 (patch) | |
tree | c8cf84cf3eb6ca805054bd6f6466fd772eb44515 /Runtime/Graphics/Shader.cpp | |
parent | b972cec461f6c587edd8febbc6dad45bad65046d (diff) |
* glsl compiler
Diffstat (limited to 'Runtime/Graphics/Shader.cpp')
-rw-r--r-- | Runtime/Graphics/Shader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Runtime/Graphics/Shader.cpp b/Runtime/Graphics/Shader.cpp index 67bbe01..ca5a572 100644 --- a/Runtime/Graphics/Shader.cpp +++ b/Runtime/Graphics/Shader.cpp @@ -58,6 +58,7 @@ Shader::Shader(LuaBind::VM*vm, std::string& glslShader) } catch (GLSLCompileException& e) { + ReleaseRenderCommandGroup(cmd); throw ShaderCompileExecption(e.what()); } CompileProgram(vsh.c_str(), fsh.c_str()); |