summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRabia Alhaffar <[email protected]>2021-02-15 14:28:52 +0200
committerGitHub <[email protected]>2021-02-15 13:28:52 +0100
commite300d268f90ec759d07329a07b864b648e7de2d2 (patch)
treef505f83a2914288d34e627a10e7c8fe63eb88650
parentccb083af52989c8681aa8047cd6380f7081d3381 (diff)
downloadraylib-e300d268f90ec759d07329a07b864b648e7de2d2.tar.gz
raylib-e300d268f90ec759d07329a07b864b648e7de2d2.zip
Fixed problem related to `IsKeyPressed` function! (#1589)
-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 b8558393..fe5eeffb 100644
--- a/examples/shapes/shapes_logo_raylib_anim.c
+++ b/examples/shapes/shapes_logo_raylib_anim.c
@@ -90,7 +90,7 @@ int main(void)
}
else if (state == 4) // State 4: Reset and Replay
{
- if (IsKeyPressed('R'))
+ if (IsKeyPressed(KEY_R))
{
framesCounter = 0;
lettersCount = 0;
@@ -157,4 +157,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
-} \ No newline at end of file
+}