mangoapp: Use XInitThreads

We use xlib stuff across threads, we need to set this or bad things can happen. We are just very lucky. =)
This commit is contained in:
Joshua Ashton 2024-07-09 23:07:41 +01:00 committed by flightlessmango
parent 8f94973cd8
commit c0b609f646

View File

@ -285,6 +285,8 @@ static bool render(GLFWwindow* window) {
int main(int, char**)
{
XInitThreads();
// Setup window
glfwSetErrorCallback(glfw_error_callback);
if (!glfwInit())