diff options
author | Colin Snover | 2017-12-03 00:30:43 -0600 |
---|---|---|
committer | Colin Snover | 2017-12-03 12:33:05 -0600 |
commit | 20b2c1b7e156f0586799f7df9d6e93c757dabeac (patch) | |
tree | 39aab0d4c20eb8e4dd3f80bee8cffaad9efdb925 /po/zh-Latn_CN.po | |
parent | 4fbf11db90bec294038fd344936eb895cbe343e1 (diff) | |
download | scummvm-rg350-20b2c1b7e156f0586799f7df9d6e93c757dabeac.tar.gz scummvm-rg350-20b2c1b7e156f0586799f7df9d6e93c757dabeac.tar.bz2 scummvm-rg350-20b2c1b7e156f0586799f7df9d6e93c757dabeac.zip |
SDL: Fix memory corruption when switching to/from 32-bit cursors
When a 32-bit cursor has the same size as an 8- or 16-bit cursor,
the mouse surfaces were not being regenerated even though the
32-bit cursors have a different memory requirement. This lead to
memory corruption as an inappropriate surface would be used for
the other type of cursor.
The shoe-horned 32-bit cursor support is clearly showing its
scrappy nature here and probably ought to be revisited in the
future if the SurfaceSdl graphics manager sticks around.
Fixes Trac#10349, Trac#10350, Trac#10351.
Diffstat (limited to 'po/zh-Latn_CN.po')
0 files changed, 0 insertions, 0 deletions