aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-01 14:16:20 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-01 14:16:20 +0100
commit44e93a191badd8c23d0bb971665f335bbb38f177 (patch)
treeece8f3c9eb6df80748611c1ac5eb1a0d67701a98 /src/main.c
parenta0f26d0407a2e514e9dcfd2baeef5ccd98f7b3dd (diff)
downloadcub3d-44e93a191badd8c23d0bb971665f335bbb38f177.tar.gz
cub3d-44e93a191badd8c23d0bb971665f335bbb38f177.tar.bz2
cub3d-44e93a191badd8c23d0bb971665f335bbb38f177.zip
sprite stuff
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 00a041d..0d9ecea 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/15 06:39:39 by cacharle #+# #+# */
-/* Updated: 2020/01/30 14:02:58 by cacharle ### ########.fr */
+/* Updated: 2020/02/01 14:00:48 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -22,13 +22,10 @@ int main(int argc, char **argv)
return (1);
if (argc == 3)
return (capture(state));
- /* printf("%d\n", state->window.size_line); */
mlx_hook(state->window_ptr, 2, (1L << 1), event_keydown, (void*)state);
mlx_hook(state->window_ptr, 17L, 0, event_quit, (void*)state);
mlx_loop_hook(state->mlx_ptr, render_update, (void*)state);
mlx_loop(state->mlx_ptr);
- /* while (1) */
- /* render_update(state); */
return (0);
}