From 9e6b9748da7db11bbf4b3381dac1723660dd0ba9 Mon Sep 17 00:00:00 2001 From: TheDarkBug Date: Sun, 27 Feb 2022 14:27:45 +0100 Subject: [PATCH] Fix for #2361 --- src/rcore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rcore.c b/src/rcore.c index 51fb307ea..b7ed04c79 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -752,7 +752,9 @@ void InitWindow(int width, int height, const char *title) TRACELOG(LOG_INFO, " > raudio:.... not loaded (optional)"); #endif +#if !defined(PLATFORM_ANDROID) memset(&CORE, 0, sizeof(CoreData)); // Clean CORE object memory +#endif if ((title != NULL) && (title[0] != 0)) CORE.Window.title = title;