From 3dd61f423ad6c79f319388625f2223d0e46a2f16 Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 1 Jan 2008 14:20:48 +0000 Subject: (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. --- src/video/video_driver.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video/video_driver.hpp') diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index 048c233b9..423ab92e1 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -13,7 +13,7 @@ public: virtual bool ChangeResolution(int w, int h) = 0; - virtual void ToggleFullscreen(bool fullscreen) = 0; + virtual bool ToggleFullscreen(bool fullscreen) = 0; }; class VideoDriverFactoryBase: public DriverFactoryBase { -- cgit v1.2.3-54-g00ecf