converted Font drawing to use display lists - should increase draw speed

This commit is contained in:
Bill Meltsner
2010-08-23 21:24:16 -05:00
parent c06d5c3263
commit 34ac035c1b
4 changed files with 23 additions and 32 deletions
+1
View File
@@ -43,6 +43,7 @@ namespace opengl
float lineHeight;
float mSpacing; // modifies the spacing by multiplying it with this value
Glyph ** glyphs;
GLuint list; // the list of glyphs, for quicker drawing
public:
static const unsigned int MAX_CHARS = 256;