Exit On GLFW Error

This commit is contained in:
TheBrokenRail 2020-11-10 12:46:42 -05:00
parent c21197324b
commit dd539e434a
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ static void store_x11_window() {
// Handle GLFW Error // Handle GLFW Error
static void glfw_error(__attribute__((unused)) int error, const char *description) { static void glfw_error(__attribute__((unused)) int error, const char *description) {
ERR("GLFW Error: %s", description); ERR("GLFW Error: %s", description);
exit(1);
} }
// Convert GLFW Key To SDL Key // Convert GLFW Key To SDL Key