diff options
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()); |