From 6a80b1b70ec069b051c0e31aafac6eb596e20261 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 19 May 2020 13:22:59 +0200 Subject: Back to basic SDL application boilerplate --- src/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main.c (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..c19d32a --- /dev/null +++ b/src/main.c @@ -0,0 +1,12 @@ +#include "mandel.h" + +int main(void) +{ + State state; + + if (!state_init(&state)) + return (1); + state_run(&state); + state_quit(&state); + return EXIT_SUCCESS; +} -- cgit