From: José Fonseca Date: Wed, 24 Oct 2012 12:34:48 +0000 (+0100) Subject: Call XInitThreads. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=876b77c71a1225d1cf550bf068734eb97c1120f4;p=apitrace Call XInitThreads. --- diff --git a/retrace/glws_glx.cpp b/retrace/glws_glx.cpp index b617530..1494d06 100644 --- a/retrace/glws_glx.cpp +++ b/retrace/glws_glx.cpp @@ -238,6 +238,8 @@ public: void init(void) { + XInitThreads(); + display = XOpenDisplay(NULL); if (!display) { std::cerr << "error: unable to open display " << XDisplayName(NULL) << "\n";