GL: avoided GLFW double termination

This commit is contained in:
Martin Pulec
2022-06-23 16:56:32 +02:00
parent f7630930d6
commit 319beb357f

View File

@@ -678,7 +678,6 @@ static void * display_gl_init(struct module *parent, const char *fmt, unsigned i
free(tmp);
if (ret != s) {
delete s;
ref_count_terminate_last()(glfwTerminate, glfw_init_count);
return ret;
}
}