From 23a4cc4a95ee5b2a2768856253028fae11863e17 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 26 Oct 2014 18:22:22 +0000 Subject: game: do not launch as fullscreen Signed-off-by: Olivier Gayot --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 864e329..fa98bc4 100644 --- a/main.c +++ b/main.c @@ -35,7 +35,7 @@ int main (int argc, char *argv[]) fprintf(stderr, "Erreur lors de l'ouverture de la SDL : %s", SDL_GetError()); exit (EXIT_FAILURE); } - surfaces.Pecran = SDL_SetVideoMode (XWIN,YWIN,32, SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_NOFRAME|SDL_FULLSCREEN); + surfaces.Pecran = SDL_SetVideoMode (XWIN,YWIN,32, SDL_HWSURFACE|SDL_DOUBLEBUF); if (surfaces.Pecran == NULL) { fprintf(stderr,"Impossible de charger la mémoire vidéo : %s", SDL_GetError()); -- cgit v1.2.3