Make sure RenderBin is set before render function is called

This commit is contained in:
Malin E
2023-04-06 14:53:05 +02:00
parent a3948e2830
commit 1d92383317
2 changed files with 13 additions and 11 deletions

View File

@@ -120,6 +120,7 @@ private:
GLuint _framebuffer = 0;
GLuint _quadVao = 0;
GLuint _quadVbo = 0;
bool _shouldRenderTwice = false;
// Opacity program
ghoul::opengl::ProgramObject* _quadProgram = nullptr;