diff --git a/BBGE/TTFFont.cpp b/BBGE/TTFFont.cpp index 7c89b798..cc05615f 100644 --- a/BBGE/TTFFont.cpp +++ b/BBGE/TTFFont.cpp @@ -20,16 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "TTFFont.h" - -#ifdef AQUARIA_INTERNAL_FTGL -#include -#include FT_FREETYPE_H - -#include "FTGL.h" -#include "FTGLTextureFont.h" -#else -#include -#endif +#include "RenderBase.h" #undef min #undef max diff --git a/BBGE/TTFFont.h b/BBGE/TTFFont.h index 1822bd84..9826b832 100644 --- a/BBGE/TTFFont.h +++ b/BBGE/TTFFont.h @@ -23,7 +23,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "BaseText.h" -class FTGLTextureFont; +#ifdef AQUARIA_INTERNAL_FTGL +#include +#include FT_FREETYPE_H + +#include "FTGL.h" +#include "FTGLTextureFont.h" +#else +#include +#endif struct TTFFont {