I am fighting for days against a problem I have with X11 and Vulkan. It crashes on XCloseDisplay() when the window is shutting down. The Vulkan example is very basic, just a simple clear command and that's it.
Can someone please have a look at this? Maybe I am doing something horribly wrong...
I made a single translation unit so everyone can compile and run it:
https://pastebin.com/iZ2guWTy
Compile with: gcc -std=c99 -g3 main.c -ldl -lm -lX11 -o vulkan