summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2014-10-26 18:22:22 +0000
committerOlivier Gayot <duskcoder@gmail.com>2014-10-26 18:22:22 +0000
commit23a4cc4a95ee5b2a2768856253028fae11863e17 (patch)
tree6cd802ff5f95a26efefe91ba3e0c24384d352929
parente816f16a5007798968f4c9003b3159a45485e88f (diff)
game: do not launch as fullscreen
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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());