Merge branch 'master' into blender2.8
[blender.git] / intern / ghost / intern / GHOST_ContextCGL.mm
index 46993a1cd1db5b9bffb07d3bbc131a578adab1d3..d95eba339f7f316117f9aa70e7a0a6371dd5c0e5 100644 (file)
@@ -143,7 +143,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];