mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-29 03:40:55 +00:00
Fixed: Compilation under Mac OS X
This commit is contained in:
parent
8af0f2a1ce
commit
99bdbfb318
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue