@ -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);
int main(int argc, char *argv[]) {