From 6e65185854457d0ca335490418f1744bd75d95a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 17 Aug 2015 16:17:22 +1000 Subject: Fix for Ghost/OSX w/ core profile --- intern/ghost/intern/GHOST_WindowCocoa.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index f1f38cc14b3..9c7b5c3fee7 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -1195,18 +1195,18 @@ GHOST_Context *GHOST_WindowCocoa::newDrawingContext(GHOST_TDrawingContextType ty #if defined(WITH_GL_PROFILE_CORE) GHOST_Context *context = new GHOST_ContextCGL( - m_initStereoVisual, - m_initNumOfAASamples, + m_wantStereoVisual, + m_wantNumOfAASamples, m_window, m_openGLView, - CGL_CONTEXT_OPENGL_CORE_PROFILE_BIT, + GL_CONTEXT_CORE_PROFILE_BIT, 3, 2, GHOST_OPENGL_CGL_CONTEXT_FLAGS, GHOST_OPENGL_CGL_RESET_NOTIFICATION_STRATEGY); #elif defined(WITH_GL_PROFILE_ES20) GHOST_Context *context = new GHOST_ContextCGL( - m_initStereoVisual, - m_initNumOfAASamples, + m_wantStereoVisual, + m_wantNumOfAASamples, m_window, m_openGLView, CGL_CONTEXT_ES2_PROFILE_BIT_EXT, -- cgit v1.2.3