Browse Source

call XInitThreads()

pull/1639/head
bsp2 6 years ago
parent
commit
49d3b4b76c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      dep/lglw/lglw_linux.c

+ 1
- 0
dep/lglw/lglw_linux.c View File

@@ -187,6 +187,7 @@ lglw_t lglw_init(int32_t _w, int32_t _h) {
// TODO: remove/improve
logfile = fopen("/tmp/lglw_log.txt", "w");
XSetErrorHandler(xerror_handler);
XInitThreads(); // fix GL crash, see <https://forum.juce.com/t/linux-vst-opengl-crash-because-xinitthreads-not-called/22821>

if(NULL != lglw)
{


Loading…
Cancel
Save