Commit 16556140 authored by Patrice Mandin's avatar Patrice Mandin

Oops, reverted single/double buffer update

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401845
parent 04752494
...@@ -104,12 +104,12 @@ int main(int argc, char *argv[]) ...@@ -104,12 +104,12 @@ int main(int argc, char *argv[])
} }
} }
if (screen->flags & SDL_DOUBLEBUF) { if (screen->flags & SDL_DOUBLEBUF) {
SDL_Flip(screen);
} else {
if (first_time) { if (first_time) {
SDL_UpdateRects(screen, 1, &update_area); SDL_UpdateRects(screen, 1, &update_area);
first_time = SDL_FALSE; first_time = SDL_FALSE;
} }
} else {
SDL_Flip(screen);
} }
SDL_Delay(1); SDL_Delay(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment