[Bf-blender-cvs] [7529690df38] blender2.8: GHOST: GLX: Remove XInitThreads

Clément Foucault noreply at git.blender.org
Mon Jun 11 17:23:08 CEST 2018


Commit: 7529690df38ced314d59af3b10c610e3fd56c807
Author: Clément Foucault
Date:   Mon Jun 11 17:22:57 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7529690df38ced314d59af3b10c610e3fd56c807

GHOST: GLX: Remove XInitThreads

This was needed because we were sharing opengl contexts across multiple
threads. With the recent refactor this should be no longer needed.

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

M	intern/ghost/intern/GHOST_SystemX11.cpp

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

diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index fcda5d8b72d..1efbee0e6aa 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -125,7 +125,6 @@ GHOST_SystemX11(
       m_xkb_descr(NULL),
       m_start_time(0)
 {
-	XInitThreads();
 	m_display = XOpenDisplay(NULL);
 
 	if (!m_display) {



More information about the Bf-blender-cvs mailing list