mxe/src/sdl-test.c

21 lines
378 B
C
Raw Normal View History

2012-03-28 14:46:58 +01:00
/* This file is part of MXE. */
/* See doc/index.html for further information. */
2010-01-22 02:53:37 +00:00
#include <SDL.h>
2010-05-09 22:21:01 +01:00
int main(int argc, char *argv[])
2010-01-22 02:53:37 +00:00
{
SDL_Surface *screen;
(void)argc;
(void)argv;
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1;
screen = SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE);
(void)screen;
2010-01-22 02:53:37 +00:00
SDL_Quit();
return 0;
}