Added internal use of glext.h header.

This commit is contained in:
Camilla Berglund 2010-11-17 14:52:47 +01:00
parent 22872a2c46
commit 3be0c05aaa
5 changed files with 4 additions and 31 deletions

View File

@ -43,15 +43,6 @@
typedef void* id;
#endif
#include "../../include/GL/glfw3.h"
#ifndef GL_VERSION_3_0
typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC)(GLenum, GLuint);
#endif /*GL_VERSION_3_0*/
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS NS
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryNS NS

View File

@ -33,11 +33,6 @@
#include <string.h>
#ifndef GL_VERSION_3_0
#define GL_NUM_EXTENSIONS 0x821D
#endif
//////////////////////////////////////////////////////////////////////////
////// GLFW internal API //////
//////////////////////////////////////////////////////////////////////////

View File

@ -57,6 +57,10 @@
//------------------------------------------------------------------------
#include "config.h"
#include "../../include/GL/glfw3.h"
#include "../../include/GL/glext.h"
#include "platform.h"

View File

@ -43,7 +43,6 @@
#include <windows.h>
#include <mmsystem.h>
#include "../../include/GL/glfw3.h"
#include "../../include/GL/wglext.h"
@ -138,13 +137,6 @@ typedef struct tagKBDLLHOOKSTRUCT {
#endif
#ifndef GL_VERSION_3_0
typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC) (GLenum, GLuint);
#endif /*GL_VERSION_3_0*/
//========================================================================
// DLLs that are loaded at glfwInit()
//========================================================================

View File

@ -43,8 +43,6 @@
#include <GL/glx.h>
#include "../../include/GL/glfw3.h"
// We need declarations for GLX version 1.3 or above even if the server doesn't
// support version 1.3
@ -67,13 +65,6 @@
#endif
#ifndef GL_VERSION_3_0
typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC)(GLenum, GLuint);
#endif /*GL_VERSION_3_0*/
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 X11
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryX11 X11
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX