From: Rudolf Polzer Date: Thu, 9 Dec 2010 05:52:52 +0000 (+0100) Subject: be a little nicer to switching font system at compile time X-Git-Tag: xonotic-v0.5.0~134 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ceaa322eef2355dd28ebe415e6f1646cd265cfb1;p=xonotic%2Fnetradiant.git be a little nicer to switching font system at compile time --- diff --git a/libs/gtkutil/glfont.cpp b/libs/gtkutil/glfont.cpp index 91090f3c..bd514a7f 100644 --- a/libs/gtkutil/glfont.cpp +++ b/libs/gtkutil/glfont.cpp @@ -179,7 +179,7 @@ GLFont *glfont_create(const char* font_string) return new GLFontCallList(font_list_base, font_ascent, font_descent, font_height); } -#endif +#else // new font code ripped from ZeroRadiant @@ -344,3 +344,5 @@ GLFont *glfont_create(const char* font_string) { return new GLFontInternal(font_string); } + +#endif