Commit: aba96ffca46e7884b7161a8e9c7430d9418c0961
Author: Clément Foucault
Date:   Sat Feb 24 02:45:42 2018 +0100
Branches: temp-drawcontext
https://developer.blender.org/rBaba96ffca46e7884b7161a8e9c7430d9418c0961

GHOST: X11: Init multithread support.

This fix an assert on with Nvidia driver.

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

M       intern/ghost/intern/GHOST_SystemX11.cpp

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

diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp 
b/intern/ghost/intern/GHOST_SystemX11.cpp
index e04efdf74bf..0de6e2f7d4a 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -119,6 +119,7 @@ GHOST_SystemX11(
     : GHOST_System(),
       m_start_time(0)
 {
+       XInitThreads();
        m_display = XOpenDisplay(NULL);
        
        if (!m_display) {

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to