aboutsummaryrefslogtreecommitdiff
path: root/examples/textures_rectangle.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-18 13:33:12 +0100
committerraysan5 <raysan5@gmail.com>2016-01-18 13:33:12 +0100
commita640503119b19e9f8eada23e381557684db2e398 (patch)
tree8fca6b5f42a5b89229776570cc082ec52307d1ab /examples/textures_rectangle.c
parentf24fd14814addbead14f108439bb38a5e75f95e9 (diff)
downloadraylib-a640503119b19e9f8eada23e381557684db2e398.tar.gz
raylib-a640503119b19e9f8eada23e381557684db2e398.zip
Corrected literal value
Diffstat (limited to 'examples/textures_rectangle.c')
-rw-r--r--examples/textures_rectangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures_rectangle.c b/examples/textures_rectangle.c
index bf52bb18..cca5b216 100644
--- a/examples/textures_rectangle.c
+++ b/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 = { 350, 240 };
+ Vector2 position = { 350.0f, 240.0f };
Rectangle frameRec = { 0, 0, guybrush.width/7, guybrush.height };
int currentFrame = 0;
//--------------------------------------------------------------------------------------