diff options
author | Niels <nielspl> | 2018-12-04 20:40:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-04 20:44:42 +0300 |
commit | 8908670623bf7baad89b438cb0581f82a8440a20 (patch) | |
tree | 84c9c2bcb403671530f32fd751c23c53263ccfb8 /intern/ghost | |
parent | f63da3dcf59f87b34aa916b2c65ce5a40a48fd92 (diff) |
Fix T58466: bug in macOS GHOST_GetSwapInterval.
No user level changes since this function is not used in active code.
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextCGL.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |