summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-07-28 12:50:18 +0200
committerraysan5 <[email protected]>2021-07-28 12:50:18 +0200
commita9230a6c073b1926d2327125d69d0bb97686310c (patch)
treea90693fcaed0fc61ce6e9d4453e02bcc4646eacd /examples
parentc706b33b30438771bc09096357d6ad0ec9b52be2 (diff)
downloadraylib-a9230a6c073b1926d2327125d69d0bb97686310c.tar.gz
raylib-a9230a6c073b1926d2327125d69d0bb97686310c.zip
Update shapes_logo_raylib_anim.c
Diffstat (limited to 'examples')
-rw-r--r--examples/shapes/shapes_logo_raylib_anim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shapes/shapes_logo_raylib_anim.c b/examples/shapes/shapes_logo_raylib_anim.c
index fe5eeffb..f91b6c7d 100644
--- a/examples/shapes/shapes_logo_raylib_anim.c
+++ b/examples/shapes/shapes_logo_raylib_anim.c
@@ -138,9 +138,9 @@ int main(void)
DrawRectangle(logoPositionX + 240, logoPositionY + 16, 16, rightSideRecHeight - 32, Fade(BLACK, alpha));
DrawRectangle(logoPositionX, logoPositionY + 240, bottomSideRecWidth, 16, Fade(BLACK, alpha));
- DrawRectangle(screenWidth/2 - 112, screenHeight/2 - 112, 224, 224, Fade(RAYWHITE, alpha));
+ DrawRectangle(GetScreenWidth()/2 - 112, GetScreenHeight()/2 - 112, 224, 224, Fade(RAYWHITE, alpha));
- DrawText(TextSubtext("raylib", 0, lettersCount), screenWidth/2 - 44, screenHeight/2 + 48, 50, Fade(BLACK, alpha));
+ DrawText(TextSubtext("raylib", 0, lettersCount), GetScreenWidth()/2 - 44, GetScreenHeight()/2 + 48, 50, Fade(BLACK, alpha));
}
else if (state == 4)
{