From 98bf205c39bf2948e9e9f44cd801eb6f2aaca8be Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Jul 2015 11:30:23 +1000 Subject: [PATCH] GHOST: correct GLX flag w/ WITH_GL_PROFILE_CORE note that this is currently ignored, but better at least build for now. --- intern/ghost/intern/GHOST_WindowX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 9c66900111a..47640048a9c 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1282,7 +1282,7 @@ GHOST_Context *GHOST_WindowX11::newDrawingContext(GHOST_TDrawingContextType type m_window, m_display, m_visualInfo, - GLX_CONTEXT_OPENGL_CORE_PROFILE_BIT, + GLX_CONTEXT_CORE_PROFILE_BIT_ARB, 3, 2, GHOST_OPENGL_GLX_CONTEXT_FLAGS | (m_is_debug_context ? GLX_CONTEXT_DEBUG_BIT_ARB : 0), GHOST_OPENGL_GLX_RESET_NOTIFICATION_STRATEGY);