Commit 5b3bba3f0a8a3841ab79b7449781e9fab8837eca

henry 2001-09-30T22:57:29

Changed std::memset to memset. Added using namespace std. This is for windows

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/FTGLTextureFont.cpp b/src/FTGLTextureFont.cpp
index af0c152..8a3e21d 100755
--- a/src/FTGLTextureFont.cpp
+++ b/src/FTGLTextureFont.cpp
@@ -5,6 +5,7 @@
 #include	"FTGL.h"
 #include	"FTTextureGlyph.h"
 
+using namespace std;
 
 typedef unsigned long	UInt32; // a mac thing?
 
@@ -64,7 +65,7 @@ bool FTGLTextureFont::MakeGlyphList()
 		glGenTextures( numTextures, (GLuint*)&glTextureID[0]);
 
 		textMem = new unsigned char[totalMem]; // GL_ALPHA texture;
-		std::memset( textMem, 0, totalMem);
+		memset( textMem, 0, totalMem);
 			
 		unsigned int glyphNum = 0;
 		unsigned char* currTextPtr = textMem;