[Bf-blender-cvs] [98bf205] master: GHOST: correct GLX flag w/ WITH_GL_PROFILE_CORE

Campbell Barton noreply at git.blender.org
Mon Jul 20 03:37:48 CEST 2015


Commit: 98bf205c39bf2948e9e9f44cd801eb6f2aaca8be
Author: Campbell Barton
Date:   Mon Jul 20 11:30:23 2015 +1000
Branches: master
https://developer.blender.org/rB98bf205c39bf2948e9e9f44cd801eb6f2aaca8be

GHOST: correct GLX flag w/ WITH_GL_PROFILE_CORE

note that this is currently ignored, but better at least build for now.

===================================================================

M	intern/ghost/intern/GHOST_WindowX11.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 9c66900..4764004 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);




More information about the Bf-blender-cvs mailing list