forked from mirror/OpenTTD
(svn r22999) -Codechange: Allow changing the blitter during the running game.
This commit is contained in:
@@ -555,4 +555,9 @@ bool VideoDriver_Allegro::ToggleFullscreen(bool fullscreen)
|
||||
#endif
|
||||
}
|
||||
|
||||
bool VideoDriver_Allegro::AfterBlitterChange()
|
||||
{
|
||||
return CreateMainSurface(_screen.width, _screen.height);
|
||||
}
|
||||
|
||||
#endif /* WITH_ALLEGRO */
|
||||
|
Reference in New Issue
Block a user