Fixed: Compilation under Mac OS X

This commit is contained in:
kervala 2013-11-13 22:23:24 +01:00
parent ca82fcfe0c
commit 5df1ebf8ba

View file

@ -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)
{