gsdx-ogl: add glTextureBarrier function pointer

Could be useful
This commit is contained in:
Gregory Hainaut committed 2015-04-24 18:35:01 +02:00
1 parent 6e386df535
commit f71eb171cf
3 files changed
+3

No files matched your search

+1
View File
@@ -142,6 +142,7 @@ PFNGLCREATESAMPLERSPROC gl_CreateSamplers = NU
PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL;
PFNGLCLIPCONTROLPROC gl_ClipControl = NULL;
PFNGLTEXTUREBARRIERPROC gl_TextureBarrier = NULL;
#endif
+1
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
+1
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
}