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:
Niels 2018-12-04 18:40:09 +01:00 committed by Brecht Van Lommel
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
1 changed files with 1 additions and 1 deletions

View File

@ -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];