Replace OSystem::hasAlpha with a feature flag

svn-id: r17695
This commit is contained in:
Max Horn 2005-04-19 20:35:48 +00:00
parent 2cfb9322e2
commit 25d56525c8
4 changed files with 8 additions and 10 deletions

View file

@ -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;