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:
Amar Takhar 2009-10-06 16:08:39 +00:00
parent ac260ec47b
commit 9217476357
1 changed files with 5 additions and 4 deletions

View File

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