diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-24 01:44:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-24 19:37:38 +0300 |
commit | 76019139f620a41839860e27abf9f02f9a7bc28b (patch) | |
tree | 414168199dd2f5b793c0922ef1b1d769626675b0 /intern/ghost/intern/GHOST_WindowCocoa.mm | |
parent | 04ad9eab6ea9951ef70b5b60b16fd7868c2fb5dd (diff) |
Cleanup: remove unused macOS GHOST OpenGL code
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.mm')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index f257399fc9c..fc4ad3dba74 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -1018,21 +1018,7 @@ GHOST_Context *GHOST_WindowCocoa::newDrawingContext(GHOST_TDrawingContextType ty { if (type == GHOST_kDrawingContextTypeOpenGL) { - GHOST_Context *context = new GHOST_ContextCGL(m_wantStereoVisual, - m_window, - m_openGLView, - -#if defined(WITH_GL_PROFILE_CORE) - GL_CONTEXT_CORE_PROFILE_BIT, - 3, - 3, -#else - 0, // no profile bit - 2, - 1, -#endif - GHOST_OPENGL_CGL_CONTEXT_FLAGS, - GHOST_OPENGL_CGL_RESET_NOTIFICATION_STRATEGY); + GHOST_Context *context = new GHOST_ContextCGL(m_wantStereoVisual, m_openGLView); if (context->initializeDrawingContext()) return context; |