aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 0651077..7eaaa84 100644
--- a/main.cpp
+++ b/main.cpp
@@ -199,9 +199,14 @@ extern int fadeIntensity;
* MAIN ************************************************************************
*******************************************************************************/
+#include <X11/Xlib.h>
+
int main(/*int argc, char *argv[]*/){
//*argv = (char *)argc;
gameRunning=false;
+
+ XInitThreads();
+
/*!
* (Attempt to) Initialize SDL libraries so that we can use SDL facilities and eventually
* make openGL calls. Exit if there was an error.