Changeset - r1807:3decab76d0db
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-05-14 21:03:46
darkvater@openttd.org
(svn r2311) - Fix: eh, forgot to remove moved function.
1 file changed with 0 insertions and 7 deletions:
sdl.c
7
0 comments (0 inline, 0 general)
sdl.c
Show inline comments
 
@@ -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},
0 comments (0 inline, 0 general)