Fix T58466: bug in macOS GHOST_GetSwapInterval.
No user level changes since this function is not used in active code.
This commit is contained in:
parent
f63da3dcf5
commit
8908670623
Notes:
blender-bot
2023-02-14 09:02:41 +01:00
Referenced by issue #58466, MacOS OpenGL bug in GHOST_ContextCGL::getSwapInterval
|
@ -123,7 +123,7 @@ GHOST_TSuccess GHOST_ContextCGL::getSwapInterval(int &intervalOut)
|
|||
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
[m_openGLContext setValues:&interval forParameter:NSOpenGLCPSwapInterval];
|
||||
[m_openGLContext getValues:&interval forParameter:NSOpenGLCPSwapInterval];
|
||||
|
||||
[pool drain];
|
||||
|
||||
|
|
Loading…
Reference in New Issue