view src/main/linux/SDL_main.c @ 270:37fa1484f71b

From: "Mattias Engdeg�rd" <f91-men@nada.kth.se> To: slouken@devolution.com Subject: Re: [SDL] Question about SDL_FillRect() I benchmarked with and without clipping UpdateRects and was unable to find any difference on my moderately slow machine. Anyway, I haven't added clipping in this patch, but fixed a couple of bugs and generally cleaned up some of the X11 image code. Most importantly, UpdateRects now checks for both zero height and width. Also, I eliminated the entire code to byteswap X11 images since X11 can do that automatically if you ask it nicely :-)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 18 Jan 2002 22:02:03 +0000
parents 25dfe480c75e
children
line wrap: on
line source


/* Include the SDL main definition header */
#include "SDL_main.h"
#ifdef main
#undef main
#endif

extern int SDL_main(int argc, char *argv[]);

int main(int argc, char *argv[])
{
	return(SDL_main(argc, argv));
}