Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/bFTGL')
-rwxr-xr-xextern/bFTGL/src/FTGLTextureFont.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/extern/bFTGL/src/FTGLTextureFont.cpp b/extern/bFTGL/src/FTGLTextureFont.cpp
index 1712ed54779..92f14be50f2 100755
--- a/extern/bFTGL/src/FTGLTextureFont.cpp
+++ b/extern/bFTGL/src/FTGLTextureFont.cpp
@@ -153,26 +153,26 @@ bool FTGLTextureFont::FaceSize( const unsigned int size, const unsigned int res)
void FTGLTextureFont::Render( const char* string)
{
- glPushAttrib( GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT);
+// glPushAttrib( GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT);
glEnable(GL_BLEND);
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // GL_ONE
FTFont::Render( string);
- glPopAttrib();
+// glPopAttrib();
}
void FTGLTextureFont::Render( const wchar_t* string)
{
- glPushAttrib( GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT);
+// glPushAttrib( GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT);
glEnable(GL_BLEND);
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // GL_ONE
FTFont::Render( string);
- glPopAttrib();
+// glPopAttrib();
}