[Scummvm-cvs-logs] scummvm master -> 8b172f0ceff9b790f856d7e668815665438bce83

lordhoto lordhoto at gmail.com
Fri Feb 3 19:18:05 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8b172f0cef GUI: Put bitmap items in the on-screen draw queue when doing buffering.


Commit: 8b172f0ceff9b790f856d7e668815665438bce83
    https://github.com/scummvm/scummvm/commit/8b172f0ceff9b790f856d7e668815665438bce83
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-02-03T10:15:09-08:00

Commit Message:
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.

Changed paths:
    gui/ThemeEngine.cpp



diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 74dc9de..2cb1635 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;






More information about the Scummvm-git-logs mailing list