Corrected literal value
This commit is contained in:
parent
f24fd14814
commit
a640503119
@ -23,7 +23,7 @@ int main()
|
|||||||
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
|
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
|
||||||
Texture2D guybrush = LoadTexture("resources/guybrush.png"); // Texture loading
|
Texture2D guybrush = LoadTexture("resources/guybrush.png"); // Texture loading
|
||||||
|
|
||||||
Vector2 position = { 350, 240 };
|
Vector2 position = { 350.0f, 240.0f };
|
||||||
Rectangle frameRec = { 0, 0, guybrush.width/7, guybrush.height };
|
Rectangle frameRec = { 0, 0, guybrush.width/7, guybrush.height };
|
||||||
int currentFrame = 0;
|
int currentFrame = 0;
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user