diff options
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
