Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Vulkan/X11 crashes on XCloseDisplay()

Started by Finalspace May 17, 2021 at 1:57 PM 0 replies 2k views
Original Post
Finalspace
Finalspace

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.