浏览代码

Fixed problem related to `IsKeyPressed` function! (#1589)

pull/1591/head
Rabia Alhaffar 4 年前
committed by GitHub
父节点
当前提交
e300d268f9
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      examples/shapes/shapes_logo_raylib_anim.c

+ 2
- 2
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(sa">'R'))
if (IsKeyPressed(n">KEY_R))
{
framesCounter = 0;
lettersCount = 0;
@ -157,4 +157,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
}
}

正在加载...
取消
保存