aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-24 04:24:58 +0100
committerJohannes Schickel2011-02-24 04:24:58 +0100
commite04d983f683871d455394fcbf50e2f964aaad365 (patch)
treea67e1a1cba3a13b1e3a8845ed8c2a7439ce10780 /common
parent9ad4ad1abc75e6393617ea9c5ca8fdfc2c8de6c4 (diff)
downloadscummvm-rg350-e04d983f683871d455394fcbf50e2f964aaad365.tar.gz
scummvm-rg350-e04d983f683871d455394fcbf50e2f964aaad365.tar.bz2
scummvm-rg350-e04d983f683871d455394fcbf50e2f964aaad365.zip
SDL: Use the SDL_Surface's pitch in copyRectToScreen.
This fixes messed up graphics, when SDL decides to add padding bytes to the lines of an SDL_Surface. Formerly the code always calculated the pitch via w*bpp, which of course does not work in all cases.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions