mirror of
https://github.com/glfw/glfw.git
synced 2024-11-12 17:51:48 +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;
|
typedef void* id;
|
||||||
#endif
|
#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_WINDOW_STATE _GLFWwindowNS NS
|
||||||
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryNS NS
|
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryNS NS
|
||||||
|
@ -33,11 +33,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#ifndef GL_VERSION_3_0
|
|
||||||
#define GL_NUM_EXTENSIONS 0x821D
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
////// GLFW internal API //////
|
////// GLFW internal API //////
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -57,6 +57,10 @@
|
|||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "../../include/GL/glfw3.h"
|
||||||
|
#include "../../include/GL/glext.h"
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
|
|
||||||
#include "../../include/GL/glfw3.h"
|
|
||||||
#include "../../include/GL/wglext.h"
|
#include "../../include/GL/wglext.h"
|
||||||
|
|
||||||
|
|
||||||
@ -138,13 +137,6 @@ typedef struct tagKBDLLHOOKSTRUCT {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef GL_VERSION_3_0
|
|
||||||
|
|
||||||
typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC) (GLenum, GLuint);
|
|
||||||
|
|
||||||
#endif /*GL_VERSION_3_0*/
|
|
||||||
|
|
||||||
|
|
||||||
//========================================================================
|
//========================================================================
|
||||||
// DLLs that are loaded at glfwInit()
|
// DLLs that are loaded at glfwInit()
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
|
|
||||||
#include <GL/glx.h>
|
#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
|
// We need declarations for GLX version 1.3 or above even if the server doesn't
|
||||||
// support version 1.3
|
// support version 1.3
|
||||||
@ -67,13 +65,6 @@
|
|||||||
#endif
|
#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_WINDOW_STATE _GLFWwindowX11 X11
|
||||||
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryX11 X11
|
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryX11 X11
|
||||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX
|
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX
|
||||||
|
Loading…
Reference in New Issue
Block a user