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:
parent
dc856be839
commit
2e09b277d5
Notes:
blender-bot
2023-02-14 05:44:23 +01:00
Referenced by issue #55451, Sculpt Brush texture crash
|
@ -125,6 +125,7 @@ GHOST_SystemX11(
|
|||
m_xkb_descr(NULL),
|
||||
m_start_time(0)
|
||||
{
|
||||
XInitThreads();
|
||||
m_display = XOpenDisplay(NULL);
|
||||
|
||||
if (!m_display) {
|
||||
|
|
Loading…
Reference in New Issue