This commit is contained in:
viktorljung
2016-01-23 18:07:07 +01:00
parent 5edf5a41f1
commit 160b7183b2
8 changed files with 27 additions and 12 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
#include "Rendering/TextPassState.h"
TextPassState::TextPassState()
TextPassState::TextPassState(GLuint frameBuffer)
{
BindFramebuffer(0);
BindFramebuffer(frameBuffer);
glEnable(GL_BLEND);
glDisable(GL_CULL_FACE);
glEnable(GL_DEPTH_TEST);