Fixed: Compilation under Mac OS X
This commit is contained in:
parent
a45bbd96c5
commit
b96ad682f5
1 changed files with 1 additions and 1 deletions
|
@ -2191,7 +2191,7 @@ void CDriverGL::setSwapVBLInterval(uint interval)
|
||||||
res = nwglSwapIntervalEXT(_Interval) == TRUE;
|
res = nwglSwapIntervalEXT(_Interval) == TRUE;
|
||||||
}
|
}
|
||||||
#elif defined(NL_OS_MAC)
|
#elif defined(NL_OS_MAC)
|
||||||
[_ctx setValues:&interval forParameter:NSOpenGLCPSwapInterval];
|
[_ctx setValues:(GLint*)&interval forParameter:NSOpenGLCPSwapInterval];
|
||||||
#elif defined(NL_OS_UNIX)
|
#elif defined(NL_OS_UNIX)
|
||||||
if (_win && _Extensions.GLXEXTSwapControl)
|
if (_win && _Extensions.GLXEXTSwapControl)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue