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 --- backends/dc/dc.h | 1 - backends/dc/dcmain.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/dc') diff --git a/backends/dc/dc.h b/backends/dc/dc.h index 42994c0012..3b7c0ae31f 100644 --- a/backends/dc/dc.h +++ b/backends/dc/dc.h @@ -133,7 +133,6 @@ class OSystem_Dreamcast : public OSystem { void clearOverlay(); void grabOverlay(int16 *buf, int pitch); void copyRectToOverlay(const int16 *buf, int pitch, int x, int y, int w, int h); - bool hasAlpha() const { return true; } OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b) { return ARGBToColor(255, r, g, b); } void colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b) { uint8 tmp; colorToARGB(color, tmp, r, g, b); diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index 69a00a19b3..2068e2f51e 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -151,6 +151,7 @@ bool OSystem_Dreamcast::hasFeature(Feature f) switch(f) { case kFeatureAspectRatioCorrection: case kFeatureVirtualKeyboard: + case kFeatureOverlaySupportsAlpha: return true; default: return false; -- cgit v1.2.3