Add glext.h to the precompiled header

Originally committed to SVN as r4455.
This commit is contained in:
Thomas Goyne 2010-06-07 07:24:25 +00:00
parent 303f4990a5
commit 1b27b77ac3
2 changed files with 7 additions and 8 deletions

View File

@ -236,9 +236,11 @@
#ifdef HAVE_APPLE_OPENGL_FRAMEWORK #ifdef HAVE_APPLE_OPENGL_FRAMEWORK
#include <OpenGL/GL.h> #include <OpenGL/GL.h>
#include <OpenGL/glu.h> #include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#else #else
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glu.h> #include <GL/glu.h>
#include "gl/glext.h"
#endif #endif
#ifdef _CRT_SECURE_NO_WARNINGS_DEFINED #ifdef _CRT_SECURE_NO_WARNINGS_DEFINED

View File

@ -35,25 +35,22 @@
/// ///
///////////
// Headers
#include "config.h" #include "config.h"
#include "gl_wrap.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/msgdlg.h> #include <wx/msgdlg.h>
#endif
#include "gl_wrap.h"
#include "options.h"
#ifdef __APPLE__ #ifdef __APPLE__
#include <OpenGL/GL.h>
#include <OpenGL/glext.h> #include <OpenGL/glext.h>
#else #else
#include <GL/gl.h>
#include "gl/glext.h" #include "gl/glext.h"
#endif #endif
#endif
#include "options.h"
////////////////////////// //////////////////////////
// Extension get function // Extension get function