@@ -229,19 +229,12 @@ static void DrawSurfaceToScreen(void)
SDL_CALL SDL_UpdateRect(_sdl_screen, 0, 0, 0, 0);
else
SDL_CALL SDL_UpdateRects(_sdl_screen, n, _dirty_rects);
}
static int CDECL compare_res(const void *pa, const void *pb)
{
int x = ((const uint16*)pa)[0] - ((const uint16*)pb)[0];
if (x != 0) return x;
return ((const uint16*)pa)[1] - ((const uint16*)pb)[1];
static const uint16 default_resolutions[][2] = {
{ 640, 480},
{ 800, 600},
{1024, 768},
{1152, 864},
{1280, 800},
Status change: