aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-17 16:17:39 +0100
committerJohannes Schickel2016-02-17 16:17:39 +0100
commitfd688b73d75b06f96310d0151a2c9ef13d387f74 (patch)
tree6852cbb011fb0d70597497fee2dfab0fe4f1a25c /.gitignore
parent414510993743f58997fa0c8a5fb390f6c9a8455c (diff)
downloadscummvm-rg350-fd688b73d75b06f96310d0151a2c9ef13d387f74.tar.gz
scummvm-rg350-fd688b73d75b06f96310d0151a2c9ef13d387f74.tar.bz2
scummvm-rg350-fd688b73d75b06f96310d0151a2c9ef13d387f74.zip
SDL: Work around bug #7038 by limiting mode reset to Win32.
Bug is: "IRIX: X BadMatch when trying to start any 640x480 game". 40e019efd45a02261a7dbc69ceaa9188d8c7a269 introduced resetting the pixel depth when unloading modes for SDL output. This was required to make mode listing for OpenGL work on Win8+. This causes issues on non-Win32 platforms though. SDL might not give us a valid a pixel depth, causing the resetting to fail. A particular example is X11 on IRIX, when only 16bit output modes work. Initially SDL tells us that the pixel depth is 32bit. Trying to set this up causes a crash though. Since there is no way to validate SDL's return value, we simply limit the reset to platforms where it is actually required, i.e. Win32.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions