Revert "GHOST: GLX: Remove XInitThreads"

This reverts commit 7529690df3.

I tried to put manually add threading protection to GHOST around
Xlib calls but that did not fix the crashes. So reverting that
for now despite the performance implication on some system.
This commit is contained in:
Clément Foucault 2018-06-14 18:14:17 +02:00
parent dc856be839
commit 2e09b277d5
Notes: blender-bot 2023-02-14 05:44:23 +01:00
Referenced by issue #55451, Sculpt Brush texture crash
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ GHOST_SystemX11(
m_xkb_descr(NULL),
m_start_time(0)
{
XInitThreads();
m_display = XOpenDisplay(NULL);
if (!m_display) {