mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 10:18:14 +00:00
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user