Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-24 01:44:32 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-24 19:37:38 +0300
commit76019139f620a41839860e27abf9f02f9a7bc28b (patch)
tree414168199dd2f5b793c0922ef1b1d769626675b0 /intern/ghost/intern/GHOST_WindowCocoa.mm
parent04ad9eab6ea9951ef70b5b60b16fd7868c2fb5dd (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.mm16
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;