Reduced texture ID array size
diff --git a/include/FTGLTextureFont.h b/include/FTGLTextureFont.h
index cc46db4..4eaac10 100755
--- a/include/FTGLTextureFont.h
+++ b/include/FTGLTextureFont.h
@@ -100,7 +100,7 @@ class FTGL_EXPORT FTGLTextureFont : public FTFont
/**
*An array of texture ids
*/
- unsigned long glTextureID[1024];
+ unsigned long glTextureID[128];
/**
* The number of textures required to hold the glyphs
diff --git a/src/FTGLTextureFont.cpp b/src/FTGLTextureFont.cpp
index 15a38d2..400349f 100755
--- a/src/FTGLTextureFont.cpp
+++ b/src/FTGLTextureFont.cpp
@@ -85,7 +85,6 @@ FTGlyph* FTGLTextureFont::MakeGlyph( unsigned int g)
err = face.Error();
return NULL;
-
}
@@ -132,7 +131,7 @@ int FTGLTextureFont::CreateTexture()
int textID;
glGenTextures( 1, (GLuint*)&textID);
- glPixelStorei( GL_UNPACK_ALIGNMENT, 1); //What does this do exactly?
+ glPixelStorei( GL_UNPACK_ALIGNMENT, 1);
glBindTexture( GL_TEXTURE_2D, textID);
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);