summaryrefslogtreecommitdiff
path: root/src/video/video_driver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/video_driver.hpp')
-rw-r--r--src/video/video_driver.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp
index 76f624cdb..4e8a2a0a1 100644
--- a/src/video/video_driver.hpp
+++ b/src/video/video_driver.hpp
@@ -48,6 +48,15 @@ public:
virtual bool ToggleFullscreen(bool fullscreen) = 0;
/**
+ * Callback invoked after the blitter was changed.
+ * @return True if no error.
+ */
+ virtual bool AfterBlitterChange()
+ {
+ return true;
+ }
+
+ /**
* Whether the driver has a graphical user interface with the end user.
* Or in other words, whether we should spawn a thread for world generation
* and NewGRF scanning so the graphical updates can keep coming. Otherwise