From 25d56525c8856a069de0762ac72d2470083226c5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 Apr 2005 20:35:48 +0000 Subject: Replace OSystem::hasAlpha with a feature flag svn-id: r17695 --- gui/newgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') 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; -- cgit v1.2.3