Fixed some floats
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
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)
{