summaryrefslogtreecommitdiffhomepage
path: root/examples/textures_rectangle.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2016-01-20 13:48:00 +0100
committervictorfisac <[email protected]>2016-01-20 13:48:00 +0100
commitc04752c0e4b646638ce6adf991750763c2dbf393 (patch)
tree9fdafdbdd04dda343a25ac40768900d2d5016da6 /examples/textures_rectangle.c
parent4cc394c376c83926da67afe14855d2a3e2b06cfd (diff)
parent29c618a35e19c1c00be94bf423ad6af7ecf1d3f8 (diff)
downloadraylib-c04752c0e4b646638ce6adf991750763c2dbf393.tar.gz
raylib-c04752c0e4b646638ce6adf991750763c2dbf393.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
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;
//--------------------------------------------------------------------------------------