From d71d742180eecf78b4cb82f6109ffba61a0ff7aa Mon Sep 17 00:00:00 2001 From: rti Date: Sat, 30 Oct 2010 23:55:54 +0200 Subject: [PATCH] Changed: #1145 Implement VSync under Linux --- code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp index 191d438cf..6b9edacf3 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp @@ -1428,7 +1428,7 @@ static bool setupGLXEXTSwapControl(const char *glext) H_AUTO_OGL(setupGLXEXTSwapControl); CHECK_EXT("GLX_EXT_swap_control"); -#ifdef NL_OS_UNIX +#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC) CHECK_ADDRESS(PFNGLXSWAPINTERVALEXTPROC, glXSwapIntervalEXT); #endif @@ -1441,7 +1441,7 @@ static bool setupGLXSGISwapControl(const char *glext) H_AUTO_OGL(setupGLXSGISwapControl); CHECK_EXT("GLX_SGI_swap_control"); -#ifdef NL_OS_UNIX +#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC) CHECK_ADDRESS(PFNGLXSWAPINTERVALSGIPROC, glXSwapIntervalSGI); #endif @@ -1454,7 +1454,7 @@ static bool setupGLXMESASwapControl(const char *glext) H_AUTO_OGL(setupGLXMESASwapControl); CHECK_EXT("GLX_MESA_swap_control"); -#ifdef NL_OS_UNIX +#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC) CHECK_ADDRESS(PFNGLXSWAPINTERVALMESAPROC, glXSwapIntervalMESA); CHECK_ADDRESS(PFNGLXGETSWAPINTERVALMESAPROC, glXGetSwapIntervalMESA); #endif