From e5ffcfb43231c55c1cdd71566e622de7583160a9 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 31 Oct 2021 19:47:57 +0800 Subject: * glsl compiler --- Runtime/Graphics/Shader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Runtime/Graphics/Shader.cpp') 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()); -- cgit v1.1-26-g67d0