Commit f2011b55b44e76efa50c29b6e54d7992fc7c58b8

dtremenak 2008-05-21T00:39:04

quell warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTFont/FTFontGlue.cpp b/src/FTFont/FTFontGlue.cpp
index 9abd7d0..cb5c334 100644
--- a/src/FTFont/FTFontGlue.cpp
+++ b/src/FTFont/FTFontGlue.cpp
@@ -207,7 +207,7 @@ C_FUN(static FTPoint, _ftglGetFontAdvance, (FTGLfont *f, char const *s),
 
 float ftglGetFontAdvance(FTGLfont *f, const char* s)
 {
-    return _ftglGetFontAdvance(f, s).X();
+    return _ftglGetFontAdvance(f, s).Xf();
 }
 
 // virtual void Render(const char* string, int renderMode);