aboutsummaryrefslogtreecommitdiff
path: root/apps/mandelbrot.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mandelbrot.c')
-rw-r--r--apps/mandelbrot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/mandelbrot.c b/apps/mandelbrot.c
index 9f73501..d5b8ae0 100644
--- a/apps/mandelbrot.c
+++ b/apps/mandelbrot.c
@@ -49,6 +49,7 @@ void draw_mandelbrot(struct window *win, int resolution)
}
gui_redraw();
print("Rendered mandelbrot successfully\n");
+ yield();
}
int main()
@@ -61,7 +62,7 @@ int main()
draw_mandelbrot(win, 50);
while (1) {
- wait();
+ yield();
};
return 0;