From 92a1b804652720d73c8889de4daf8bf354021f60 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 26 Feb 2026 23:38:06 +0100 Subject: [PATCH] REVIEWED: Flags checks, fixes #5597 --- src/rcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index 7a0ddbcc6..b21d1ddff 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1607,7 +1607,7 @@ int GetFPS(void) { int fps = 0; -#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL) +#if !SUPPORT_CUSTOM_FRAME_CONTROL #define FPS_CAPTURE_FRAMES_COUNT 30 // 30 captures #define FPS_AVERAGE_TIME_SECONDS 0.5f // 500 milliseconds #define FPS_STEP (FPS_AVERAGE_TIME_SECONDS/FPS_CAPTURE_FRAMES_COUNT) @@ -4582,7 +4582,7 @@ static void RecordAutomationEvent(void) } #endif -#if !defined(SUPPORT_MODULE_RTEXT) +#if !SUPPORT_MODULE_RTEXT // Formatting of text with variables to 'embed' // WARNING: String returned will expire after this function is called MAX_TEXTFORMAT_BUFFERS times const char *TextFormat(const char *text, ...)