Commit 812361eea310d3e97b4b125753190fab23b26c11

henry 2002-12-21T09:09:50

Changed int to float in glRasterPos

diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index bb25253..a00f129 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -215,7 +215,7 @@ void renderFontInfo()
 
 	// draw mode
 	glColor3f( 1.0, 1.0, 1.0);
-	glRasterPos2i( 20 , h_win - ( 20 + infoFont->Ascender()));
+	glRasterPos2f( 20.0f , h_win - ( 20.0f + infoFont->Ascender()));
 
 	switch( mode)
 	{
@@ -250,7 +250,7 @@ void renderFontInfo()
 			break;
 	}
 	
-	glRasterPos2i( 20 , 20 + infoFont->Ascender() - infoFont->Descender());
+	glRasterPos2f( 20.0f , 20.0f + infoFont->Ascender() - infoFont->Descender());
 	infoFont->Render(FONT_FILE);
 }