aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMax Horn2005-04-19 20:35:48 +0000
committerMax Horn2005-04-19 20:35:48 +0000
commit25d56525c8856a069de0762ac72d2470083226c5 (patch)
treef8a733c7156d11e15e65b2e9865a34591942df8c /backends/dc
parent2cfb9322e2e2b59fa2ab311491445ef801d4979a (diff)
downloadscummvm-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 'backends/dc')
-rw-r--r--backends/dc/dc.h1
-rw-r--r--backends/dc/dcmain.cpp1
2 files changed, 1 insertions, 1 deletions
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;