Commit b39871f5398ea6f6b45ed0ae16e76740ab6d60c4

henry 2004-10-07T02:11:01

Fixed some floats

diff --git a/src/FTBitmapGlyph.cpp b/src/FTBitmapGlyph.cpp
index d823b95..616a567 100755
--- a/src/FTBitmapGlyph.cpp
+++ b/src/FTBitmapGlyph.cpp
@@ -52,7 +52,7 @@ FTBitmapGlyph::~FTBitmapGlyph()
 
 float FTBitmapGlyph::Render( const FTPoint& pen)
 {
-    glBitmap( 0, 0, 0.0, 0.0, pen.x + pos.x, pen.y - pos.y, (const GLubyte*)0 );
+    glBitmap( 0, 0, 0.0f, 0.0f, pen.x + pos.x, pen.y - pos.y, (const GLubyte*)0 );
     
     if( data)
     {
@@ -60,7 +60,7 @@ float FTBitmapGlyph::Render( const FTPoint& pen)
         glBitmap( destWidth, destHeight, 0.0f, 0.0, 0.0, 0.0, (const GLubyte*)data);
     }
     
-    glBitmap( 0, 0, 0.0, 0.0, -pos.x, pos.y, (const GLubyte*)0 );
+    glBitmap( 0, 0, 0.0f, 0.0f, -pos.x, pos.y, (const GLubyte*)0 );
     
     return advance;
 }
diff --git a/src/FTOutlineGlyph.cpp b/src/FTOutlineGlyph.cpp
index ebe8861..80b5a86 100644
--- a/src/FTOutlineGlyph.cpp
+++ b/src/FTOutlineGlyph.cpp
@@ -54,7 +54,7 @@ FTOutlineGlyph::~FTOutlineGlyph()
 
 float FTOutlineGlyph::Render( const FTPoint& pen)
 {
-    glTranslatef( pen.x, pen.y, 0);
+    glTranslatef( pen.x, pen.y, 0.0f);
 
     if( glList)
     {
diff --git a/src/FTPolyGlyph.cpp b/src/FTPolyGlyph.cpp
index 9fdb16a..b56b6e4 100644
--- a/src/FTPolyGlyph.cpp
+++ b/src/FTPolyGlyph.cpp
@@ -66,7 +66,7 @@ FTPolyGlyph::~FTPolyGlyph()
 
 float FTPolyGlyph::Render( const FTPoint& pen)
 {
-    glTranslatef(  pen.x,  pen.y, 0);
+    glTranslatef(  pen.x,  pen.y, 0.0f);
 
     if( glList)
     {