summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-01 14:20:48 +0000
committerbelugas <belugas@openttd.org>2008-01-01 14:20:48 +0000
commit61285721a4af4177d52b6751803b639acb52d60d (patch)
tree4649001ed8ff619fb2275a558ad17a1e8a942a9c /src/gfx_func.h
parente5f50b6fde0107f1b77a2f3fb91fc919bab33030 (diff)
downloadopenttd-61285721a4af4177d52b6751803b639acb52d60d.tar.xz
(svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed. As for the reason it did not work, each computer/OS has its reason.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 837be1e0c..0103e7044 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -151,7 +151,7 @@ void ScreenSizeChanged();
void UndrawMouseCursor();
bool ChangeResInGame(int w, int h);
void SortResolutions(int count);
-void ToggleFullScreen(bool fs);
+bool ToggleFullScreen(bool fs);
/* gfx.cpp */
#define ASCII_LETTERSTART 32