[Bf-blender-cvs] [ca794c4be51] temp-drawcontext: GHOST: OSX: Force opengl multithread initialisation.
Clément Foucault
noreply at git.blender.org
Sat Feb 24 02:56:05 CET 2018
Commit: ca794c4be513d99264c67a18dfa411ba70b3bd52
Author: Clément Foucault
Date: Sat Feb 24 02:56:07 2018 +0100
Branches: temp-drawcontext
https://developer.blender.org/rBca794c4be513d99264c67a18dfa411ba70b3bd52
GHOST: OSX: Force opengl multithread initialisation.
This may not be what I think it is. But it might solve some problems we are having with DrawManager and separate contexts.
===================================================================
M intern/ghost/intern/GHOST_ContextCGL.mm
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm
index 56d1c66e0e5..6cc3f4dd28a 100644
--- a/intern/ghost/intern/GHOST_ContextCGL.mm
+++ b/intern/ghost/intern/GHOST_ContextCGL.mm
@@ -35,6 +35,8 @@
#include <Cocoa/Cocoa.h>
+#define GHOST_MULTITHREADED_OPENGL
+
#ifdef GHOST_MULTITHREADED_OPENGL
#include <OpenGL/OpenGL.h>
#endif
More information about the Bf-blender-cvs
mailing list