diff options
author | belugas <belugas@openttd.org> | 2008-01-01 14:20:48 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-01-01 14:20:48 +0000 |
commit | 3dd61f423ad6c79f319388625f2223d0e46a2f16 (patch) | |
tree | 4649001ed8ff619fb2275a558ad17a1e8a942a9c /src/video/dedicated_v.cpp | |
parent | a8611311ac842618f0be9e20b8339e7adbf86738 (diff) | |
download | openttd-3dd61f423ad6c79f319388625f2223d0e46a2f16.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/video/dedicated_v.cpp')
-rw-r--r-- | src/video/dedicated_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index 7ca1db6ea..97b53e87f 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -168,7 +168,7 @@ void VideoDriver_Dedicated::Stop() void VideoDriver_Dedicated::MakeDirty(int left, int top, int width, int height) {} bool VideoDriver_Dedicated::ChangeResolution(int w, int h) { return false; } -void VideoDriver_Dedicated::ToggleFullscreen(bool fs) {} +bool VideoDriver_Dedicated::ToggleFullscreen(bool fs) { return false; } #if defined(UNIX) || defined(__OS2__) || defined(PSP) static bool InputWaiting() |