summaryrefslogtreecommitdiff
path: root/src/video/allegro_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r--src/video/allegro_v.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp
index 68bc6880f..27b7a4448 100644
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -555,4 +555,9 @@ bool VideoDriver_Allegro::ToggleFullscreen(bool fullscreen)
#endif
}
+bool VideoDriver_Allegro::AfterBlitterChange()
+{
+ return CreateMainSurface(_screen.width, _screen.height);
+}
+
#endif /* WITH_ALLEGRO */