gsdx-ogl: add missing define of glcorearb.h

Migration isn't expected soon but it should ease the process
This commit is contained in:
Gregory Hainaut 2019-02-01 11:36:05 +01:00
parent 8a723b3be8
commit cd333c2c94
1 changed files with 16 additions and 0 deletions

View File

@ -254,6 +254,22 @@ extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate;
#include "PFN_GLLOADER_HPP.h"
/*************************************************************
* Extra define not provided in glcorearb.h
* Currently they are included in the legacy glext.h but the plan
* is to move to core only OpenGL
************************************************************/
// Extension not in core profile. It will become irrelevant with sparse texture
#ifndef GL_TEXTURE_FREE_MEMORY_ATI
#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
#endif
// Added in GL4.6. Code should be updated but driver support...
#ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#endif
namespace GLLoader {
void check_gl_requirements();