mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Compilation under Mac OS X
This commit is contained in:
parent
ca82fcfe0c
commit
5df1ebf8ba
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