Commit 98e9ad48cac4cbbb509b2584390ee561caaaf018

henry 2001-10-23T03:05:51

Enable texturing

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/FTGLTextureFont.cpp b/src/FTGLTextureFont.cpp
index 1cc74af..74c9b42 100755
--- a/src/FTGLTextureFont.cpp
+++ b/src/FTGLTextureFont.cpp
@@ -41,9 +41,11 @@ FTGLTextureFont::~FTGLTextureFont()
 
 bool FTGLTextureFont::MakeGlyphList()
 {
+	glEnable( GL_TEXTURE_2D);
+	
 	if( !maxTextSize)
 		glGetIntegerv( GL_MAX_TEXTURE_SIZE, (GLint*)&maxTextSize);
-	
+		
 	glyphHeight = ( charSize.Height()) + padding;
 	glyphWidth = ( charSize.Width()) + padding;