mirror of https://github.com/odrling/Aegisub
Bitten by precompiled headers round 2: the OpenGL headers must be included before the local headers.
Originally committed to SVN as r3631.
This commit is contained in:
parent
ac260ec47b
commit
9217476357
|
@ -38,10 +38,7 @@
|
||||||
#include <wx/log.h>
|
#include <wx/log.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "video_out_gl.h"
|
// These must be included before local headers.
|
||||||
#include "utils.h"
|
|
||||||
#include "video_frame.h"
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <OpenGL/GL.h>
|
#include <OpenGL/GL.h>
|
||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
|
@ -50,6 +47,10 @@
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "video_out_gl.h"
|
||||||
|
#include "utils.h"
|
||||||
|
#include "video_frame.h"
|
||||||
|
|
||||||
#ifndef GL_CLAMP_TO_EDGE
|
#ifndef GL_CLAMP_TO_EDGE
|
||||||
#define GL_CLAMP_TO_EDGE 0x812F
|
#define GL_CLAMP_TO_EDGE 0x812F
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue