]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/glfont.cpp
be a little nicer to switching font system at compile time
[xonotic/netradiant.git] / libs / gtkutil / glfont.cpp
index 91090f3cfc88b04f13ee353ef5855af85fd88dca..bd514a7febbb1f592cefe6174cafcd0da1303cfd 100644 (file)
@@ -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