Added internal use of glext.h header.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent 22872a2c46
commit 3be0c05aaa
  1. 9
      src/cocoa/platform.h
  2. 5
      src/glext.c
  3. 4
      src/internal.h
  4. 8
      src/win32/platform.h
  5. 9
      src/x11/platform.h

@ -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…
Cancel
Save