summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Halase <jordan@halase.me>2019-10-29 14:35:05 -0500
committerJordan Halase <jordan@halase.me>2019-10-29 14:35:05 -0500
commit06e6b24dd81ca45b4d2df12f727a20f8f84a7893 (patch)
tree5d9b785e171b71c5bb67bdd297951a36ca1127c4
parent4249466fefd2bb34f13f12742c795ceb6b7a0f31 (diff)
Add note about XInitThreads()
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index a0d8b39..bc1c36a 100644
--- a/main.c
+++ b/main.c
@@ -668,6 +668,7 @@ PuglStatus onEvent(PuglView *view, const PuglEvent *e)
int main()
{
#if defined(__linux__)
+ /* The Mesa Vulkan drivers require this to be called */
XInitThreads();
#endif
const char *errMsg = NULL;