Remove unnecessary gr_check_fullscreen ?:

This commit is contained in:
Kp 2015-12-22 04:18:50 +00:00
parent af8876efe1
commit 18cca1d33c
2 changed files with 2 additions and 2 deletions

View file

@ -461,7 +461,7 @@ namespace dcx {
int gr_check_fullscreen(void)
{
return (sdl_video_flags & SDL_FULLSCREEN)?1:0;
return (sdl_video_flags & SDL_FULLSCREEN);
}
void gr_toggle_fullscreen()

View file

@ -147,7 +147,7 @@ namespace dcx {
int gr_check_fullscreen(void)
{
return (sdl_video_flags & SDL_FULLSCREEN)?1:0;
return (sdl_video_flags & SDL_FULLSCREEN);
}
void gr_toggle_fullscreen()