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>
|
||||
#endif
|
||||
|
||||
#include "video_out_gl.h"
|
||||
#include "utils.h"
|
||||
#include "video_frame.h"
|
||||
|
||||
// These must be included before local headers.
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/GL.h>
|
||||
#include <OpenGL/glu.h>
|
||||
|
@ -50,6 +47,10 @@
|
|||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
#include "video_out_gl.h"
|
||||
#include "utils.h"
|
||||
#include "video_frame.h"
|
||||
|
||||
#ifndef GL_CLAMP_TO_EDGE
|
||||
#define GL_CLAMP_TO_EDGE 0x812F
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue