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, 1 insertions, 2 deletions
diff --git a/apps/mandelbrot.c b/apps/mandelbrot.c
index d5b8ae0..9f73501 100644
--- a/apps/mandelbrot.c
+++ b/apps/mandelbrot.c
@@ -49,7 +49,6 @@ void draw_mandelbrot(struct window *win, int resolution)
}
gui_redraw();
print("Rendered mandelbrot successfully\n");
- yield();
}
int main()
@@ -62,7 +61,7 @@ int main()
draw_mandelbrot(win, 50);
while (1) {
- yield();
+ wait();
};
return 0;