Browse Source

oops, compile without freetype

David Rose 24 years ago
parent
commit
c8dec900de
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/text/geomTextGlyph.cxx

+ 4 - 0
panda/src/text/geomTextGlyph.cxx

@@ -18,6 +18,8 @@
 
 #include "geomTextGlyph.h"
 
+#ifdef HAVE_FREETYPE
+
 #include "datagramIterator.h"
 #include "bamReader.h"
 
@@ -95,3 +97,5 @@ make_GeomTextGlyph(const FactoryParams &params) {
   me->config();
   return me;
 }
+
+#endif  // HAVE_FREETYPE