README-SDL.txt
author Sam Lantinga <slouken@libsdl.org>
Mon, 30 Jan 2006 13:30:44 +0000
changeset 1296 f418917e0b7a
parent 0 74212992fb08
child 5537 8a66741be632
permissions -rw-r--r--
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");
}
     1 
     2 Please distribute this file with the SDL runtime environment:
     3 
     4 The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library
     5 designed to make it easy to write multi-media software, such as games and
     6 emulators.
     7 
     8 The Simple DirectMedia Layer library source code is available from:
     9 http://www.libsdl.org/
    10 
    11 This library is distributed under the terms of the GNU LGPL license:
    12 http://www.gnu.org/copyleft/lesser.html
    13