remove useless condition
This commit is contained in:
parent
45bb8065da
commit
32970f75b2
1 changed files with 1 additions and 2 deletions
3
window.c
3
window.c
|
@ -127,8 +127,7 @@ void init(void) {
|
||||||
enable_surface_option(_cube, SO_USE_LIGHTING);
|
enable_surface_option(_cube, SO_USE_LIGHTING);
|
||||||
|
|
||||||
/* si _use_vsync != 0, on active la synchronisation verticale */
|
/* si _use_vsync != 0, on active la synchronisation verticale */
|
||||||
if(_use_vsync)
|
SDL_GL_SetSwapInterval(_use_vsync);
|
||||||
SDL_GL_SetSwapInterval(1);
|
|
||||||
|
|
||||||
/* mettre en place la fonction à appeler en cas de sortie */
|
/* mettre en place la fonction à appeler en cas de sortie */
|
||||||
atexit(sortie);
|
atexit(sortie);
|
||||||
|
|
Reference in a new issue