summaryrefslogtreecommitdiffhomepage
path: root/examples/core/core_storage_values.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-08-16 11:28:15 +0200
committerraysan5 <[email protected]>2020-08-16 11:28:15 +0200
commitc32ae480afd196d88acdfdb52d5261a61e0deb08 (patch)
treef34f662f64424cbade1678c07934b9c12455d68d /examples/core/core_storage_values.c
parent26f6a64a39671487f5d1eeeffe7fce6538669051 (diff)
downloadraylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.tar.gz
raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.zip
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
Diffstat (limited to 'examples/core/core_storage_values.c')
-rw-r--r--examples/core/core_storage_values.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/core/core_storage_values.c b/examples/core/core_storage_values.c
index 1592c059..2ae1cc39 100644
--- a/examples/core/core_storage_values.c
+++ b/examples/core/core_storage_values.c
@@ -65,10 +65,10 @@ int main(void)
ClearBackground(RAYWHITE);
- DrawText(FormatText("SCORE: %i", score), 280, 130, 40, MAROON);
- DrawText(FormatText("HI-SCORE: %i", hiscore), 210, 200, 50, BLACK);
+ DrawText(TextFormat("SCORE: %i", score), 280, 130, 40, MAROON);
+ DrawText(TextFormat("HI-SCORE: %i", hiscore), 210, 200, 50, BLACK);
- DrawText(FormatText("frames: %i", framesCounter), 10, 10, 20, LIME);
+ DrawText(TextFormat("frames: %i", framesCounter), 10, 10, 20, LIME);
DrawText("Press R to generate random numbers", 220, 40, 20, LIGHTGRAY);
DrawText("Press ENTER to SAVE values", 250, 310, 20, LIGHTGRAY);