aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawsquare.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 14:12:03 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 14:12:03 +0100
commite6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33 (patch)
tree7b5e2219785805cefc80bd209c892df42679c303 /src/ft_drawsquare.c
parentBetter code (diff)
download42-cub3d-e6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33.tar.gz
42-cub3d-e6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33.tar.bz2
42-cub3d-e6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33.tar.xz
42-cub3d-e6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33.tar.zst
42-cub3d-e6bbc5e1a7d1b88a5ed241283ec19fbaa672dc33.zip
Bug fix
Diffstat (limited to '')
-rw-r--r--src/ft_drawsquare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c
index 9e23937..dd7cce7 100644
--- a/src/ft_drawsquare.c
+++ b/src/ft_drawsquare.c
@@ -19,8 +19,8 @@ void
ft_drawsquare(int a, int b, int rgb, t_cub *clist)
{
const uint16_t scale = clist->scale;
- int x;
- int y;
+ int x;
+ int y;
x = a;
y = b;