Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
This commit is contained in:
parent
2cfb9322e2
commit
25d56525c8
4 changed files with 8 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue