3rdpary: import GL/glcorearb.h

It will replace glext.h in the future

v2: add requirement in gsdx
This commit is contained in:
Gregory Hainaut 2019-01-31 14:34:41 +01:00
parent 8cd6f4375e
commit 2c99a0775c
2 changed files with 5873 additions and 0 deletions

5866
3rdparty/GL/glcorearb.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -126,6 +126,9 @@ typedef int64 sint64;
#ifdef _WIN32
// Note use GL/glcorearb.h on the future
// Requirements:
// * Update GSWndWGL::GetProcAddress to query 1.0 and 1.1 symbols
// * define all ENABLE_GL_VERSION_1_*
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/wglext.h>
@ -136,6 +139,10 @@ typedef int64 sint64;
#else
// Note use GL/glcorearb.h on the future
// Requirements:
// * Drop GLX that still include gl.h...
// EGL/OGL status on AMD GPU pro driver is unknown
// * define all ENABLE_GL_VERSION_1_*
#include <GL/gl.h>
#include <GL/glext.h>
#include "Renderers/OpenGL/GLLoader.h"