(svn r22999) -Codechange: Allow changing the blitter during the running game.

This commit is contained in:
michi_cc
2011-10-04 21:35:40 +00:00
parent f6340254ae
commit d3e32121c9
12 changed files with 97 additions and 46 deletions

View File

@@ -47,6 +47,11 @@ public:
*/
/* virtual */ bool ToggleFullscreen(bool fullscreen);
/** Callback invoked after the blitter was changed.
* @return True if no error.
*/
/* virtual */ bool AfterBlitterChange();
/** Return driver name
* @return driver name
*/
@@ -123,7 +128,7 @@ public:
* @param h New window height
* @return Whether change was successful
*/
virtual bool ChangeResolution(int w, int h) = 0;
virtual bool ChangeResolution(int w, int h, int bpp) = 0;
/** Are we in fullscreen mode
* @return whether fullscreen mode is currently used