diff --git a/code/nel/src/3d/driver/opengl3/driver_opengl_extension.cpp b/code/nel/src/3d/driver/opengl3/driver_opengl_extension.cpp index 16b14a3da..1b6bf9d01 100644 --- a/code/nel/src/3d/driver/opengl3/driver_opengl_extension.cpp +++ b/code/nel/src/3d/driver/opengl3/driver_opengl_extension.cpp @@ -170,6 +170,14 @@ PFNGLGETCOMPRESSEDTEXIMAGEPROC nglGetCompressedTexImage; PFNGLBLENDCOLORPROC nglBlendColor; +PFNGLFENCESYNCPROC nglFenceSync; +PFNGLISSYNCPROC nglIsSync; +PFNGLDELETESYNCPROC nglDeleteSync; +PFNGLCLIENTWAITSYNCPROC nglClientWaitSync; +PFNGLWAITSYNCPROC nglWaitSync; +PFNGLGETINTEGER64VPROC nglGetInteger64v; +PFNGLGETSYNCIVPROC nglGetSynciv; + // GL_ARB_separate_shader_objects PFNGLUSEPROGRAMSTAGESPROC nglUseProgramStages; PFNGLACTIVESHADERPROGRAMPROC nglActiveShaderProgram; @@ -465,6 +473,14 @@ static bool setupGLCore(std::vector &glext) CHECK_ADDRESS(PFNGLBLENDCOLORPROC, glBlendColor); + CHECK_ADDRESS(PFNGLFENCESYNCPROC, glFenceSync); + CHECK_ADDRESS(PFNGLISSYNCPROC, glIsSync); + CHECK_ADDRESS(PFNGLDELETESYNCPROC, glDeleteSync); + CHECK_ADDRESS(PFNGLCLIENTWAITSYNCPROC, glClientWaitSync); + CHECK_ADDRESS(PFNGLWAITSYNCPROC, glWaitSync); + CHECK_ADDRESS(PFNGLGETINTEGER64VPROC, glGetInteger64v); + CHECK_ADDRESS(PFNGLGETSYNCIVPROC, glGetSynciv); + return true; } diff --git a/code/nel/src/3d/driver/opengl3/driver_opengl_extension.h b/code/nel/src/3d/driver/opengl3/driver_opengl_extension.h index 732e0249d..c73badce3 100644 --- a/code/nel/src/3d/driver/opengl3/driver_opengl_extension.h +++ b/code/nel/src/3d/driver/opengl3/driver_opengl_extension.h @@ -256,6 +256,14 @@ extern PFNGLGETCOMPRESSEDTEXIMAGEPROC nglGetCompressedTexImage; extern PFNGLBLENDCOLORPROC nglBlendColor; +extern PFNGLFENCESYNCPROC nglFenceSync; +extern PFNGLISSYNCPROC nglIsSync; +extern PFNGLDELETESYNCPROC nglDeleteSync; +extern PFNGLCLIENTWAITSYNCPROC nglClientWaitSync; +extern PFNGLWAITSYNCPROC nglWaitSync; +extern PFNGLGETINTEGER64VPROC nglGetInteger64v; +extern PFNGLGETSYNCIVPROC nglGetSynciv; + // GL_ARB_separate_shader_objects extern PFNGLUSEPROGRAMSTAGESPROC nglUseProgramStages; extern PFNGLACTIVESHADERPROGRAMPROC nglActiveShaderProgram;