diff options
author | Johannes Schickel | 2011-02-24 04:24:58 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-24 04:24:58 +0100 |
commit | e04d983f683871d455394fcbf50e2f964aaad365 (patch) | |
tree | a67e1a1cba3a13b1e3a8845ed8c2a7439ce10780 /engines/lure/game.cpp | |
parent | 9ad4ad1abc75e6393617ea9c5ca8fdfc2c8de6c4 (diff) | |
download | scummvm-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 'engines/lure/game.cpp')
0 files changed, 0 insertions, 0 deletions