* Turn off the color buffer bit in the TextureFont renderer to increase performance. Patch by Ton Roosendaal, from Blender commit r5362.
diff --git a/src/FTGLTextureFont.cpp b/src/FTGLTextureFont.cpp
index 8bdcb55..9b6e78f 100644
--- a/src/FTGLTextureFont.cpp
+++ b/src/FTGLTextureFont.cpp
@@ -191,17 +191,13 @@ bool FTGLTextureFont::FaceSize( const unsigned int size, const unsigned int res)
template <typename T>
inline void FTGLTextureFont::RenderI(const T* string)
-{
- glPushAttrib(GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT);
-
+{
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // GL_ONE
FTTextureGlyph::ResetActiveTexture();
-
- FTFont::Render(string);
- glPopAttrib();
+ FTFont::Render(string);
}