From 0a808a0f355390c68a5ca6f93c10758107c67700 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 28 Aug 2019 08:56:31 +0200 Subject: State stores the window size and the domain where to look the set --- main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 494ee2c..7757243 100644 --- a/main.c +++ b/main.c @@ -3,11 +3,7 @@ int main(void) { /* mandelbrot_print(); */ - GConf gconf = { - .window_width = 300, - .window_height = 300 - }; - GState *gstate = graphics_init(&gconf); + GState *gstate = graphics_init(); graphics_run(gstate); graphics_quit(gstate); return 0; -- cgit