From 521ceeb174bd57017f33f65095fab5a381f90079 Mon Sep 17 00:00:00 2001 From: Sergei Baigerov Date: Fri, 23 Feb 2024 14:40:30 +0800 Subject: [PATCH] Update rcore_desktop.c --- src/platforms/rcore_desktop.c | 2 ++ 1 file changed, 2 insertions(+) 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