Fixed screenshot with sdl

This commit is contained in:
jsalmon3 2004-05-23 12:44:10 +00:00
parent 33a5c2fcdb
commit 6d37639d93

View file

@ -694,6 +694,10 @@ global void WaitEventsOneFrame(const EventCallback* callbacks)
if (!SkipGameCycle--) {
SkipGameCycle = SkipFrames;
}
#ifndef USE_OPENGL
VideoClearScreen();
#endif
}
/**
@ -709,7 +713,6 @@ global void RealizeVideoMemory(void)
SDL_UpdateRects(TheScreen, NumRects, Rects);
NumRects = 0;
}
VideoClearScreen();
#endif
}