From c32ae480afd196d88acdfdb52d5261a61e0deb08 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 16 Aug 2020 11:28:15 +0200 Subject: RENAMED: FormatText() -> TextFormat() This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText() --- src/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core.c b/src/core.c index 95721405..16b13934 100644 --- a/src/core.c +++ b/src/core.c @@ -4494,7 +4494,7 @@ static void ProcessKeyboard(void) // Check screen capture key (raylib key: KEY_F12) if (CORE.Input.Keyboard.currentKeyState[301] == 1) { - TakeScreenshot(FormatText("screenshot%03i.png", screenshotCounter)); + TakeScreenshot(TextFormat("screenshot%03i.png", screenshotCounter)); screenshotCounter++; } #endif @@ -4898,7 +4898,7 @@ static void *EventThread(void *arg) // Check screen capture key (raylib key: KEY_F12) if (CORE.Input.Keyboard.currentKeyState[301] == 1) { - TakeScreenshot(FormatText("screenshot%03i.png", screenshotCounter)); + TakeScreenshot(TextFormat("screenshot%03i.png", screenshotCounter)); screenshotCounter++; } #endif -- cgit v1.2.3