aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2005-04-19 20:35:48 +0000
committerMax Horn2005-04-19 20:35:48 +0000
commit25d56525c8856a069de0762ac72d2470083226c5 (patch)
treef8a733c7156d11e15e65b2e9865a34591942df8c /gui
parent2cfb9322e2e2b59fa2ab311491445ef801d4979a (diff)
downloadscummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.tar.gz
scummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.tar.bz2
scummvm-rg350-25d56525c8856a069de0762ac72d2470083226c5.zip
Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index a9b6070efc..b46039a1fd 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -365,7 +365,7 @@ void NewGui::blendRect(int x, int y, int w, int h, OverlayColor color, int level
if (!rect.isValidRect())
return;
- if (_system->hasAlpha()) {
+ if (_system->hasFeature(OSystem::kFeatureOverlaySupportsAlpha)) {
int a, r, g, b;
uint8 aa, ar, ag, ab;