Commit 948e3629ba940e227c0c842f1f53f14f5035d921

dtremenak 2008-05-06T06:54:51

l != 1, depending on your font of course

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 f2a3a00..f1a1e6b 100644
--- a/src/FTFont/FTFontGlue.cpp
+++ b/src/FTFont/FTFontGlue.cpp
@@ -168,7 +168,7 @@ C_FUN(void, ftglSetFontOutset, (FTGLfont *f, float front, float back),
 
 // void FTFont::UseDisplayList(bool useList);
 C_FUN(void, ftglSetFontDisplayList, (FTGLfont *f, int l),
-      return, UseDisplayList, (true));
+      return, UseDisplayList, (l != 0));
 
 // float FTFont::Ascender() const;
 C_FUN(float, ftglGetFontAscender, (FTGLfont *f), return 0.f, Ascender, ());