diff --git a/src/platforms/rcore_desktop.c b/src/platforms/rcore_desktop.c index 4c98fcdf6..7f76ec5b5 100644 --- a/src/platforms/rcore_desktop.c +++ b/src/platforms/rcore_desktop.c @@ -1584,6 +1584,8 @@ void ClosePlatform(void) static void ErrorCallback(int error, const char *description) { TRACELOG(LOG_WARNING, "GLFW: Error: %i Description: %s", error, description); + + exit(1); } // GLFW3 WindowSize Callback, runs when window is resizedLastFrame