diff options
| author | Max Horn | 2005-04-19 20:35:48 +0000 | 
|---|---|---|
| committer | Max Horn | 2005-04-19 20:35:48 +0000 | 
| commit | 25d56525c8856a069de0762ac72d2470083226c5 (patch) | |
| tree | f8a733c7156d11e15e65b2e9865a34591942df8c /backends/dc | |
| parent | 2cfb9322e2e2b59fa2ab311491445ef801d4979a (diff) | |
| download | scummvm-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.h | 1 | ||||
| -rw-r--r-- | backends/dc/dcmain.cpp | 1 | 
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;  | 
