diff options
author | Filippos Karapetis | 2009-10-31 18:26:31 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-31 18:26:31 +0000 |
commit | 58299f4bfdf6ec10c37702c94e7cdd4462c595cf (patch) | |
tree | ad1658ff30b3182c90813c132008c589ba96ec4a /engines | |
parent | d5421d93d4b1a23aaaf552c60d334857714d377b (diff) | |
download | scummvm-rg350-58299f4bfdf6ec10c37702c94e7cdd4462c595cf.tar.gz scummvm-rg350-58299f4bfdf6ec10c37702c94e7cdd4462c595cf.tar.bz2 scummvm-rg350-58299f4bfdf6ec10c37702c94e7cdd4462c595cf.zip |
Added a comment that the current implementation that we got on drawing already scaled views is a temporary hack
svn-id: r45571
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gui/gui_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp index 10dce2314c..26413ec0a8 100644 --- a/engines/sci/gui/gui_view.cpp +++ b/engines/sci/gui/gui_view.cpp @@ -477,7 +477,7 @@ void SciGuiView::draw(Common::Rect rect, Common::Rect clipRect, Common::Rect cli for (x = 0; x < width; x++) { color = bitmap[x]; if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) { - if (origHeight == -1) + if (origHeight == -1) // HACK: this parameter is passed for already scaled views, but we're not actually using it _screen->putPixel(clipRectTranslated.left + x, y, drawMask, palette->mapping[color], priority, 0); else _screen->putPixelOnDisplay(clipRectTranslated.left + x, y, palette->mapping[color]); |