From fbfdcdb33fc7a55c34c6e04b5136f6ad3aa08c33 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sat, 11 May 2013 21:44:30 +0200 Subject: [PATCH] comment --- mandelbrot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mandelbrot.c b/mandelbrot.c index 1612916..f13bae3 100644 --- a/mandelbrot.c +++ b/mandelbrot.c @@ -51,10 +51,11 @@ void drawmandelbrot(SDL_Surface *surface) { } } + /* Update the screen a final time. */ + SDL_Flip(surface); if (SDL_MUSTLOCK(surface)) { SDL_UnlockSurface(surface); } - SDL_Flip(surface); } int main(int argc, char *argv[]) {