mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-11 19:10:55 +00:00
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:
parent
8f94973cd8
commit
c0b609f646
@ -285,6 +285,8 @@ static bool render(GLFWwindow* window) {
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
XInitThreads();
|
||||
|
||||
// Setup window
|
||||
glfwSetErrorCallback(glfw_error_callback);
|
||||
if (!glfwInit())
|
||||
|
Loading…
Reference in New Issue
Block a user