Changed name and made a TextPassState

This commit is contained in:
viktorljung
2016-01-23 11:38:31 +01:00
parent ea9c4d19d0
commit 445248af55
7 changed files with 46 additions and 17 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "Rendering/TextPassState.h"
TextPassState::TextPassState()
{
BindFramebuffer(0);
glEnable(GL_BLEND);
glDisable(GL_CULL_FACE);
glEnable(GL_DEPTH_TEST);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
}
TextPassState::~TextPassState()
{
}