Use SDL_opengl.h

That already contains an up to date glext.h.
This commit is contained in:
dhewg 2012-01-04 19:58:36 +01:00 committed by Daniel Gibson
parent f54253d966
commit d2b2285345
2 changed files with 1 additions and 5958 deletions

File diff suppressed because it is too large Load diff

View file

@ -32,45 +32,7 @@ If you have questions concerning this license or the applicable additional terms
#ifndef __QGL_H__
#define __QGL_H__
#if defined( _WIN32 )
#include <GL/gl.h>
#elif defined( MACOS_X )
// magic flag to keep tiger gl.h from loading glext.h
#define GL_GLEXT_LEGACY
#include <OpenGL/gl.h>
#elif defined( __unix__ )
// using our local glext.h
// http://oss.sgi.com/projects/ogl-sample/ABI/
#define GL_GLEXT_LEGACY
#define GLX_GLXEXT_LEGACY
#include <GL/gl.h>
#include <GL/glx.h>
#else
#include <gl.h>
#endif
#ifndef APIENTRY
#define APIENTRY
#endif
#ifndef WINAPI
#define WINAPI
#endif
// only use local glext.h if we are not using the system one already
// http://oss.sgi.com/projects/ogl-sample/ABI/
#ifndef GL_GLEXT_VERSION
#include "glext.h"
#endif
#include <SDL_opengl.h>
typedef void (*GLExtension_t)(void);