Move gl_text's OpenGL header inclusion to the cpp file

Originally committed to SVN as r5906.
This commit is contained in:
Thomas Goyne 2011-11-23 18:33:14 +00:00
parent df50af52e8
commit f3c10634d1
2 changed files with 6 additions and 6 deletions

View file

@ -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 {

View file

@ -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;