mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 18:15:10 +00:00
Added internal use of glext.h header.
This commit is contained in:
parent
22872a2c46
commit
3be0c05aaa
@ -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
|
||||
|
@ -33,11 +33,6 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#ifndef GL_VERSION_3_0
|
||||
#define GL_NUM_EXTENSIONS 0x821D
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
////// GLFW internal API //////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -57,6 +57,10 @@
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "../../include/GL/glfw3.h"
|
||||
#include "../../include/GL/glext.h"
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
|
||||
|
@ -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()
|
||||
//========================================================================
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user