mirror of https://github.com/odrling/Aegisub
Move gl_text's OpenGL header inclusion to the cpp file
Originally committed to SVN as r5906.
This commit is contained in:
parent
df50af52e8
commit
f3c10634d1
|
@ -47,6 +47,12 @@
|
|||
#include "gl_text.h"
|
||||
#include "utils.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
/// @class OpenGLTextGlyph
|
||||
/// @brief Struct storing the information needed to draw a glyph
|
||||
struct OpenGLTextGlyph {
|
||||
|
|
|
@ -43,12 +43,6 @@
|
|||
#include <wx/font.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
struct OpenGLTextGlyph;
|
||||
class OpenGLTextTexture;
|
||||
|
||||
|
|
Loading…
Reference in New Issue