aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorMax Horn2010-07-12 23:19:08 +0000
committerMax Horn2010-07-12 23:19:08 +0000
commite2c1ee853a1cd1ce56536a4b4436a8da5277d0cb (patch)
treefa06978cf9840470edfd6a51d637262cb3b25c0d /engines/tinsel
parent8e9d933658bce3b613879b4679321b1c71cfffd4 (diff)
downloadscummvm-rg350-e2c1ee853a1cd1ce56536a4b4436a8da5277d0cb.tar.gz
scummvm-rg350-e2c1ee853a1cd1ce56536a4b4436a8da5277d0cb.tar.bz2
scummvm-rg350-e2c1ee853a1cd1ce56536a4b4436a8da5277d0cb.zip
SDL: Tweak OSystem_SDL::detectSupportedFormats a bit
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833
Diffstat (limited to 'engines/tinsel')
0 files changed, 0 insertions, 0 deletions