Fixed: Compilation under Mac OS X

This commit is contained in:
kervala 2013-11-13 22:23:24 +01:00
parent a45bbd96c5
commit b96ad682f5

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