aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.c b/main.c
index f1fb7af..494ee2c 100644
--- a/main.c
+++ b/main.c
@@ -2,6 +2,13 @@
int main(void)
{
- mandelbrot_print();
+ /* mandelbrot_print(); */
+ GConf gconf = {
+ .window_width = 300,
+ .window_height = 300
+ };
+ GState *gstate = graphics_init(&gconf);
+ graphics_run(gstate);
+ graphics_quit(gstate);
return 0;
}