diff options
author | Johannes Schickel | 2012-02-29 19:02:17 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-29 19:05:43 +0100 |
commit | aad85d957c86ec77f7974e983dbbdb40a4aa4f4c (patch) | |
tree | cf94f6d791233e27db4bdb1d44f93b4923e7a307 /backends/platform/iphone/osys_main.h | |
parent | f2c2e4fef8d7ddf505f70f36a032e7020c952386 (diff) | |
download | scummvm-rg350-aad85d957c86ec77f7974e983dbbdb40a4aa4f4c.tar.gz scummvm-rg350-aad85d957c86ec77f7974e983dbbdb40a4aa4f4c.tar.bz2 scummvm-rg350-aad85d957c86ec77f7974e983dbbdb40a4aa4f4c.zip |
IPHONE: Fall back to CLUT8 in case a non-supported screen mode is set up.
This makes the iPhone backend conform with the 16bpp API and thus no longer
causes assertions to fail in case the client code tries to set up an
unsupported game screen format.
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
-rw-r--r-- | backends/platform/iphone/osys_main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index 5d0f60c34c..b443e22f56 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -65,6 +65,9 @@ protected: Graphics::Surface _framebuffer; + // For signaling that screen format set up might have failed. + TransactionError _gfxTransactionError; + // For use with the game texture uint16 _gamePalette[256]; // For use with the mouse texture |