Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 63c634ea authored by TAVERNIER Vincent's avatar TAVERNIER Vincent
Browse files

Fix crash on reload

parent 14194d2d
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ void RenderContext::InitializeBuffers()
postprocessFs.Source(GLSLStrings(sources));
postprocessFs.Compile();
// Reset postprocess prog instance
postprocessProg = oglplus::Program();
postprocessProg.AttachShader(GetScreenQuadVertexShader());
postprocessProg.AttachShader(postprocessFs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment