summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes/shapes_basic_shapes.c
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2021-10-25 01:21:16 -0700
committerGitHub <[email protected]>2021-10-25 10:21:16 +0200
commitdaeccd03ace3eacf7907ecca1a697c7d00961cf4 (patch)
tree0be2045a1003eed50c1456fd1a380ff970837233 /examples/shapes/shapes_basic_shapes.c
parent086f76ba7abefb1b34e1baa353c5f69dfc5dafdc (diff)
downloadraylib-daeccd03ace3eacf7907ecca1a697c7d00961cf4.tar.gz
raylib-daeccd03ace3eacf7907ecca1a697c7d00961cf4.zip
Fix VC warnings for examples (#2085)
Diffstat (limited to 'examples/shapes/shapes_basic_shapes.c')
-rw-r--r--examples/shapes/shapes_basic_shapes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shapes/shapes_basic_shapes.c b/examples/shapes/shapes_basic_shapes.c
index 086de774..7b48d436 100644
--- a/examples/shapes/shapes_basic_shapes.c
+++ b/examples/shapes/shapes_basic_shapes.c
@@ -59,8 +59,8 @@ int main(void)
(Vector2){screenWidth/4.0f*3.0f + 20.0f, 230.0f}, DARKBLUE);
// Polygon shapes and lines
- DrawPoly((Vector2){screenWidth/4*3, 320}, 6, 80, 0, BROWN);
- DrawPolyLinesEx((Vector2){screenWidth/4*3, 320}, 6, 80, 0, 6, BEIGE);
+ DrawPoly((Vector2){screenWidth/4.0f*3, 320}, 6, 80, 0, BROWN);
+ DrawPolyLinesEx((Vector2){screenWidth/4.0f*3, 320}, 6, 80, 0, 6, BEIGE);
// NOTE: We draw all LINES based shapes together to optimize internal drawing,
// this way, all LINES are rendered in a single draw pass