summaryrefslogtreecommitdiffhomepage
path: root/examples/web
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web')
-rw-r--r--examples/web/shapes/shapes_logo_raylib_anim.c2
-rw-r--r--examples/web/text/text_writing_anim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/shapes/shapes_logo_raylib_anim.c b/examples/web/shapes/shapes_logo_raylib_anim.c
index 529d6ad..2a8501e 100644
--- a/examples/web/shapes/shapes_logo_raylib_anim.c
+++ b/examples/web/shapes/shapes_logo_raylib_anim.c
@@ -178,7 +178,7 @@ void UpdateDrawFrame(void)
DrawRectangle(screenWidth/2 - 112, screenHeight/2 - 112, 224, 224, Fade(RAYWHITE, alpha));
- DrawText(SubText("raylib", 0, lettersCount), screenWidth/2 - 44, screenHeight/2 + 48, 50, Fade(BLACK, alpha));
+ DrawText(TextSubtext("raylib", 0, lettersCount), screenWidth/2 - 44, screenHeight/2 + 48, 50, Fade(BLACK, alpha));
}
else if (state == 4)
{
diff --git a/examples/web/text/text_writing_anim.c b/examples/web/text/text_writing_anim.c
index a8315b5..28fef66 100644
--- a/examples/web/text/text_writing_anim.c
+++ b/examples/web/text/text_writing_anim.c
@@ -78,7 +78,7 @@ void UpdateDrawFrame(void)
ClearBackground(RAYWHITE);
- DrawText(SubText(message, 0, framesCounter/10), 210, 160, 20, MAROON);
+ DrawText(TextSubtext(message, 0, framesCounter/10), 210, 160, 20, MAROON);
DrawText("PRESS [ENTER] to RESTART!", 240, 280, 20, LIGHTGRAY);