mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: add glTextureBarrier function pointer
Could be useful
This commit is contained in:
parent
6e386df535
commit
f71eb171cf
|
@ -142,6 +142,7 @@ PFNGLCREATESAMPLERSPROC gl_CreateSamplers = NU
|
||||||
PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL;
|
PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL;
|
||||||
|
|
||||||
PFNGLCLIPCONTROLPROC gl_ClipControl = NULL;
|
PFNGLCLIPCONTROLPROC gl_ClipControl = NULL;
|
||||||
|
PFNGLTEXTUREBARRIERPROC gl_TextureBarrier = NULL;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -330,6 +330,7 @@ extern PFNGLCREATESAMPLERSPROC gl_CreateSamplers;
|
||||||
extern PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines;
|
extern PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines;
|
||||||
|
|
||||||
extern PFNGLCLIPCONTROLPROC gl_ClipControl;
|
extern PFNGLCLIPCONTROLPROC gl_ClipControl;
|
||||||
|
extern PFNGLTEXTUREBARRIERPROC gl_TextureBarrier;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define gl_ActiveTexture glActiveTexture
|
#define gl_ActiveTexture glActiveTexture
|
||||||
|
|
|
@ -145,6 +145,7 @@ void GSWndGL::PopulateGlFunction()
|
||||||
*(void**)&(gl_CreateProgramPipelines) = GetProcAddress("glCreateProgramPipelines", true);
|
*(void**)&(gl_CreateProgramPipelines) = GetProcAddress("glCreateProgramPipelines", true);
|
||||||
|
|
||||||
*(void**)&(gl_ClipControl) = GetProcAddress("glClipControl", true);
|
*(void**)&(gl_ClipControl) = GetProcAddress("glClipControl", true);
|
||||||
|
*(void**)&(gl_TextureBarrier) = GetProcAddress("glTextureBarrier", true);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue