release related things

This commit is contained in:
Titus Tscharntke
2011-11-06 00:58:21 +00:00
parent 0b511efe36
commit d19a5930a6
2 changed files with 48 additions and 0 deletions

View File

@@ -236,7 +236,18 @@ void TextFTGL::Render(const char* str, const int len) {
//printf("FTGL Render [%s] facesize = %d\n",str,ftFont->FaceSize());
assertGl();
// glEnable(GL_ALPHA_TEST);
// glAlphaFunc(GL_LESS, 0.9f);
//glBlendFunc(GL_ONE,GL_ZERO);
//glDisable(GL_BLEND);
// glPushAttrib(GL_ALL_ATTRIB_BITS);
// glEnable(GL_BLEND);
// glBlendFunc(GL_ONE,GL_ONE);
ftFont->Render(str, len);
// glPopAttrib();
//glEnable(GL_BLEND);
// glDisable(GL_ALPHA_TEST);
//assertGl();
GLenum error = glGetError();
if(error != GL_NO_ERROR) {