2010-lew/main.c
2010-09-26 01:09:40 +02:00

17 lines
291 B
C

#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL.h>
int main(int argc, char** argv) {
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
fprintf(stderr, "Erreur à l'initialisation de SDL :");
fprintf(stderr, " %s", SDL_GetError());
exit(EXIT_FAILURE);
}
SDL_Quit();
return 0;
}