aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-28 08:56:31 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-28 08:56:31 +0200
commit0a808a0f355390c68a5ca6f93c10758107c67700 (patch)
treeded488ba4737d0ca4d599b76046d0d726145032f /main.c
parent003e9e628b3e7b516d3d70d78b6ba97bca69c813 (diff)
downloadmandelbrot-0a808a0f355390c68a5ca6f93c10758107c67700.tar.gz
mandelbrot-0a808a0f355390c68a5ca6f93c10758107c67700.tar.bz2
mandelbrot-0a808a0f355390c68a5ca6f93c10758107c67700.zip
State stores the window size and the domain where to look the set
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 1 insertions, 5 deletions
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;