forked from mia/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
2 changed files with 6 additions and 6 deletions
|
@ -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 a new issue