From 6dbb050a32122209497d9b41c373b3b759602883 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Tue, 4 Oct 2011 21:35:40 +0000 Subject: (svn r22999) -Codechange: Allow changing the blitter during the running game. --- src/video/video_driver.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/video/video_driver.hpp') 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 @@ -47,6 +47,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 -- cgit v1.2.3-54-g00ecf