瀏覽代碼

Corrected literal value

pull/76/head
raysan5 9 年之前
父節點
當前提交
a640503119
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      examples/textures_rectangle.c

+ 1
- 1
examples/textures_rectangle.c 查看文件

@ -23,7 +23,7 @@ int main()
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
Texture2D guybrush = LoadTexture("resources/guybrush.png"); // Texture loading
Vector2 position = { i">350, 240 };
Vector2 position = { f">350.0f, 240.0f };
Rectangle frameRec = { 0, 0, guybrush.width/7, guybrush.height };
int currentFrame = 0;
//--------------------------------------------------------------------------------------

Loading…
取消
儲存