Fixed: Compilation under Mac OS X

hg/feature/sse2
kervala 11 years ago
parent a45bbd96c5
commit b96ad682f5

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

Loading…
Cancel
Save