[Bf-blender-cvs] [8908670623b] master: Fix T58466: bug in macOS GHOST_GetSwapInterval.
Niels
noreply at git.blender.org
Tue Dec 4 18:45:31 CET 2018
Commit: 8908670623bf7baad89b438cb0581f82a8440a20
Author: Niels
Date: Tue Dec 4 18:40:09 2018 +0100
Branches: master
https://developer.blender.org/rB8908670623bf7baad89b438cb0581f82a8440a20
Fix T58466: bug in macOS GHOST_GetSwapInterval.
No user level changes since this function is not used in active code.
===================================================================
M intern/ghost/intern/GHOST_ContextCGL.mm
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm
index 03c45f9945b..dd4352ec26c 100644
--- a/intern/ghost/intern/GHOST_ContextCGL.mm
+++ b/intern/ghost/intern/GHOST_ContextCGL.mm
@@ -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];
More information about the Bf-blender-cvs
mailing list