From ee9cd37d587568b3ed4f32b620350331f4320d1e Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Tue, 31 Jan 2017 16:09:58 -0700 Subject: demos: Add XInitThreads to xlib path of cubes Change-Id: Idb2991972bdd91c3e48ad5d796de4b31d7138c98 --- demos/cube.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'demos/cube.cpp') diff --git a/demos/cube.cpp b/demos/cube.cpp index a7bb7a09..e5fa6ae2 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -2157,6 +2157,7 @@ struct Demo { #elif defined(VK_USE_PLATFORM_XLIB_KHR) void create_xlib_window() { + XInitThreads(); display = XOpenDisplay(nullptr); long visualMask = VisualScreenMask; int numberOfVisuals; -- cgit v1.2.3