From 9a14e748c9f859bbbfb20807388b923632d0b7ec Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sun, 9 Sep 2018 09:52:36 +0200 Subject: [PATCH] enabled thread support --- video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.c b/video.c index 722276a..abcd600 100644 --- a/video.c +++ b/video.c @@ -5439,6 +5439,7 @@ void VideoInit(const char *display_name) Debug(3, "video: x11 already setup\n"); return; } + // Open the connection to the X server. // use the DISPLAY environment variable as the default display name if (!display_name && !(display_name = getenv("DISPLAY"))) { @@ -5450,7 +5451,7 @@ void VideoInit(const char *display_name) // FIXME: we need to retry connection return; } -#ifdef USE_GLX_not_needed_done_with_locks +#ifdef USE_GLX if (!XInitThreads()) { Error(_("video: Can't initialize X11 thread support on '%s'\n"),display_name); }