From f3c10634d1a81c9f415f586fb2c544abaf044cfb Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 23 Nov 2011 18:33:14 +0000 Subject: [PATCH] Move gl_text's OpenGL header inclusion to the cpp file Originally committed to SVN as r5906. --- aegisub/src/gl_text.cpp | 6 ++++++ aegisub/src/gl_text.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aegisub/src/gl_text.cpp b/aegisub/src/gl_text.cpp index 447510089..b4b34e4d3 100644 --- a/aegisub/src/gl_text.cpp +++ b/aegisub/src/gl_text.cpp @@ -47,6 +47,12 @@ #include "gl_text.h" #include "utils.h" +#ifdef __APPLE__ +#include +#else +#include +#endif + /// @class OpenGLTextGlyph /// @brief Struct storing the information needed to draw a glyph struct OpenGLTextGlyph { diff --git a/aegisub/src/gl_text.h b/aegisub/src/gl_text.h index d17d1e8c7..d162d7cc6 100644 --- a/aegisub/src/gl_text.h +++ b/aegisub/src/gl_text.h @@ -43,12 +43,6 @@ #include #endif -#ifdef __APPLE__ -#include -#else -#include -#endif - struct OpenGLTextGlyph; class OpenGLTextTexture;