diff options
author | Max Horn | 2005-04-19 20:35:48 +0000 |
---|---|---|
committer | Max Horn | 2005-04-19 20:35:48 +0000 |
commit | 25d56525c8856a069de0762ac72d2470083226c5 (patch) | |
tree | f8a733c7156d11e15e65b2e9865a34591942df8c /gui | |
parent | 2cfb9322e2e2b59fa2ab311491445ef801d4979a (diff) | |
download | scummvm-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.cpp | 2 |
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; |