From 58299f4bfdf6ec10c37702c94e7cdd4462c595cf Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 31 Oct 2009 18:26:31 +0000 Subject: Added a comment that the current implementation that we got on drawing already scaled views is a temporary hack svn-id: r45571 --- engines/sci/gui/gui_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- cgit v1.2.3