gsdx-ogl: add glTextureBarrier function pointer

Could be useful
This commit is contained in:
Gregory Hainaut 2015-04-22 20:38:22 +02:00
parent 6e386df535
commit f71eb171cf
3 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,7 @@ PFNGLCREATESAMPLERSPROC gl_CreateSamplers = NU
PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL;
PFNGLCLIPCONTROLPROC gl_ClipControl = NULL;
PFNGLTEXTUREBARRIERPROC gl_TextureBarrier = NULL;
#endif

View File

@ -330,6 +330,7 @@ extern PFNGLCREATESAMPLERSPROC gl_CreateSamplers;
extern PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines;
extern PFNGLCLIPCONTROLPROC gl_ClipControl;
extern PFNGLTEXTUREBARRIERPROC gl_TextureBarrier;
#else
#define gl_ActiveTexture glActiveTexture

View File

@ -145,6 +145,7 @@ void GSWndGL::PopulateGlFunction()
*(void**)&(gl_CreateProgramPipelines) = GetProcAddress("glCreateProgramPipelines", true);
*(void**)&(gl_ClipControl) = GetProcAddress("glClipControl", true);
*(void**)&(gl_TextureBarrier) = GetProcAddress("glTextureBarrier", true);
#endif
}