From b96ad682f57d1d834e6790530c5fe5dcd4327608 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 13 Nov 2013 22:23:24 +0100 Subject: [PATCH] Fixed: Compilation under Mac OS X --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index fb0efeb62..474750d2c 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -2191,7 +2191,7 @@ void CDriverGL::setSwapVBLInterval(uint interval) res = nwglSwapIntervalEXT(_Interval) == TRUE; } #elif defined(NL_OS_MAC) - [_ctx setValues:&interval forParameter:NSOpenGLCPSwapInterval]; + [_ctx setValues:(GLint*)&interval forParameter:NSOpenGLCPSwapInterval]; #elif defined(NL_OS_UNIX) if (_win && _Extensions.GLXEXTSwapControl) {