]> git.treefish.org Git - phys/latlib.git/commitdiff
...
authorAlex Schmidt <alex@treefish.org>
Thu, 18 Apr 2013 23:21:46 +0000 (01:21 +0200)
committerAlex Schmidt <alex@treefish.org>
Thu, 18 Apr 2013 23:21:46 +0000 (01:21 +0200)
culooks.cpp

index 6e7fded3e92532c154037631e999a7f49b461e50..94b9aa9fe80a1e6186c0dd6b27d649905b59c6c4 100644 (file)
@@ -18,6 +18,8 @@ culooks::culooks (const char* name, const int& xcubes, const int& ycubes, const
   window *Win = new window;
   int winsize[2];
 
   window *Win = new window;
   int winsize[2];
 
+  XInitThreads();
+
   Win->layout[0] = xcubes;
   Win->layout[1] = ycubes;
   Win->aspect = (double)xcubes/ycubes;
   Win->layout[0] = xcubes;
   Win->layout[1] = ycubes;
   Win->aspect = (double)xcubes/ycubes;