aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-16 16:56:16 +0000
committerTorbjörn Andersson2005-04-16 16:56:16 +0000
commit8ef991fe4a489d0baf196d450cef7ab6edee8530 (patch)
tree851af185177428c131c22dbda731614fbd94cb14 /gui
parentbffeb58d06f89fc49d64c349d3d8cfa4f65a0664 (diff)
downloadscummvm-rg350-8ef991fe4a489d0baf196d450cef7ab6edee8530.tar.gz
scummvm-rg350-8ef991fe4a489d0baf196d450cef7ab6edee8530.tar.bz2
scummvm-rg350-8ef991fe4a489d0baf196d450cef7ab6edee8530.zip
Clarified the second comment, and removed the overlap between the two.
svn-id: r17636
Diffstat (limited to 'gui')
-rw-r--r--gui/about.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index 9800f47786..6312cb0bcd 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -243,8 +243,10 @@ void AboutDialog::handleTickle() {
}
void AboutDialog::handleScreenChanged() {
- // The screen has changed. Reset the canvas, and issue a full redraw.
- // Until we have a new canvas, don't draw any credits text.
+ // The screen has changed. That means the overlay colors in the canvas
+ // may no longer be correct. Reset it, and issue a full redraw.
+ // TODO: We could check if the bit format has changed, like we do in
+ // the MPEG player.
free(_canvas.pixels);
_canvas.pixels = NULL;
draw();