diff options
author | Jody Northup | 2009-07-10 19:56:40 +0000 |
---|---|---|
committer | Jody Northup | 2009-07-10 19:56:40 +0000 |
commit | 70c138651dc71f886a4314943c4e9a753dc44607 (patch) | |
tree | 4b0165eeec6fad4cb0f36cd1c901d0b8b248dd8d /backends/platform/sdl | |
parent | 02e639ea0ceaa4b6a530847dbb043a5c2352e4a2 (diff) | |
download | scummvm-rg350-70c138651dc71f886a4314943c4e9a753dc44607.tar.gz scummvm-rg350-70c138651dc71f886a4314943c4e9a753dc44607.tar.bz2 scummvm-rg350-70c138651dc71f886a4314943c4e9a753dc44607.zip |
Whoops, and one more.
svn-id: r42351
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index ea9c285a44..a090db01b6 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -274,7 +274,7 @@ Common::List<Graphics::PixelFormat> OSystem_SDL::getSupportedFormats() { } for (int i = 0; i < listLength; i++) { - if (RGBList[i].bytesPerPixel > format.bytesPerPixel) + if (inited && (RGBList[i].bytesPerPixel > format.bytesPerPixel)) continue; if (BGR) { if (BGRList[i] != format) |