From: Alex Schmidt Date: Thu, 18 Apr 2013 23:21:46 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/c1fa6a1beca0ee805fd717b65ab4e959c5864950 ... --- diff --git a/culooks.cpp b/culooks.cpp index 6e7fded..94b9aa9 100644 --- a/culooks.cpp +++ b/culooks.cpp @@ -18,6 +18,8 @@ culooks::culooks (const char* name, const int& xcubes, const int& ycubes, const window *Win = new window; int winsize[2]; + XInitThreads(); + Win->layout[0] = xcubes; Win->layout[1] = ycubes; Win->aspect = (double)xcubes/ycubes;