projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13b2baf
)
Use SDL toggle call in non-windows systems.
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 10 Aug 2004 16:07:28 +0000
(16:07 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 10 Aug 2004 16:07:28 +0000
(16:07 +0000)
This should be faster and more X11 friendly.
SVN-Revision: 1732
src/misc.cpp
patch
|
blob
|
history
diff --git
a/src/misc.cpp
b/src/misc.cpp
index
7873929
..
2fbe16e
100644
(file)
--- a/
src/misc.cpp
+++ b/
src/misc.cpp
@@
-56,7
+56,11
@@
void process_options_menu(void)
if(use_fullscreen != options_menu->isToggled(MNID_FULLSCREEN))
{
use_fullscreen = !use_fullscreen;
+#ifdef WIN32
Setup::video(screen->w,screen->h);
+#else
+ SDL_WM_ToggleFullScreen(screen);
+#endif
}
break;
case MNID_SOUND: