view src/main/linux/SDL_main.c @ 650:fe445b59d307

We need to lookup the address of glGetString before calling GL_MakeCurrent(), since the X11 target needs to query for extensions in there...hopefully this other platforms don't need to have a current context before symbol lookup works or something strange like that... --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 12 Jul 2003 13:30:30 +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));
}