diff options
author | Johannes Schickel | 2012-02-03 19:09:17 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-03 19:15:09 +0100 |
commit | 8b172f0ceff9b790f856d7e668815665438bce83 (patch) | |
tree | 8c15e0d1da8c03de660700790f89a86ffaa39e43 /gui | |
parent | 4763b2c51b4c73dae4340993fc9b71200bcdbe28 (diff) | |
download | scummvm-rg350-8b172f0ceff9b790f856d7e668815665438bce83.tar.gz scummvm-rg350-8b172f0ceff9b790f856d7e668815665438bce83.tar.bz2 scummvm-rg350-8b172f0ceff9b790f856d7e668815665438bce83.zip |
GUI: Put bitmap items in the on-screen draw queue when doing buffering.
This fixes bug #3482461 "GUI: X image on clear buttons might be vanishing".
I am afraid I can't really tell why this fixes the bug though.
This is a backport of a small part of MaximRussia's changes to the queueing
code. So thanks to him for this fix.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 74dc9de1c2..2cb1635e20 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -847,7 +847,7 @@ void ThemeEngine::queueBitmap(const Graphics::Surface *bitmap, const Common::Rec ThemeItemBitmap *q = new ThemeItemBitmap(this, area, bitmap, alpha); if (_buffering) { - _bufferQueue.push_back(q); + _screenQueue.push_back(q); } else { q->drawSelf(true, false); delete q; |