mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 11:34:18 +01:00
gsdx-ogl: add glTextureBarrier function pointer
Could be useful
This commit is contained in:
1 parent
6e386df535
commit
f71eb171cf
3 files changed
+3
No files matched your search
@@ -142,6 +142,7 @@ PFNGLCREATESAMPLERSPROC gl_CreateSamplers = NU
|
||||
PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL;
|
||||
|
||||
PFNGLCLIPCONTROLPROC gl_ClipControl = NULL;
|
||||
PFNGLTEXTUREBARRIERPROC gl_TextureBarrier = NULL;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user