Mercurial > sdl-ios-xcode
view test/.cvsignore @ 1296:f418917e0b7a
Fixed crash:
#include <SDL.h>
int main(int argc, char** argv)
{
SDL_Init(SDL_INIT_EVERYTHING);
SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN);
SDL_ShowCursor(SDL_DISABLE);
SDL_Delay(1000);
SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN | SDL_OPENGL);
SDL_Quit();
printf("Everything okay\n");
}
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 30 Jan 2006 13:30:44 +0000 |
parents | c9ae23d221ea |
children | d94b080ff6ce |
line wrap: on
line source
Makefile.in Makefile configure config.cache config.log config.status autom4te* aclocal.m4 SDL.dll stdout.txt stderr.txt checkkeys graywin loopwave testalpha testbitmap testblitspeed testcdrom testcpuinfo testdyngl testendian testerror testgamma testgl testhread testjoystick testkeys testlock testoverlay testoverlay2 testpalette testsem testsprite testtimer testtypes testver testvidinfo testwin testwm threadwin