diff --git a/plugins/GSdx/GLLoader.cpp b/plugins/GSdx/GLLoader.cpp index a2abe2828e..425e1a6bf5 100644 --- a/plugins/GSdx/GLLoader.cpp +++ b/plugins/GSdx/GLLoader.cpp @@ -142,6 +142,7 @@ PFNGLCREATESAMPLERSPROC gl_CreateSamplers = NU PFNGLCREATEPROGRAMPIPELINESPROC gl_CreateProgramPipelines = NULL; PFNGLCLIPCONTROLPROC gl_ClipControl = NULL; +PFNGLTEXTUREBARRIERPROC gl_TextureBarrier = NULL; #endif diff --git a/plugins/GSdx/GLLoader.h b/plugins/GSdx/GLLoader.h index 3c425796fb..670c324eea 100644 --- a/plugins/GSdx/GLLoader.h +++ b/plugins/GSdx/GLLoader.h @@ -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 diff --git a/plugins/GSdx/GSWnd.cpp b/plugins/GSdx/GSWnd.cpp index 0a6bffb837..fbad1357a9 100644 --- a/plugins/GSdx/GSWnd.cpp +++ b/plugins/GSdx/GSWnd.cpp @@ -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 }