diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 15:55:06 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 15:55:06 +0200 |
commit | b3b86c440cb2a13a43ce6dd3102bf85f4211795b (patch) | |
tree | e5c5998f923785aebd3c09231df868d87973c0ec /engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | |
parent | efee8c01ceded526406a3ad6ffc2dc1c078c2ce2 (diff) | |
download | scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.tar.gz scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.tar.bz2 scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.zip |
WINTERMUTE: Clear out a few warning()s
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp index 5e6347fdef..5102d182f9 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp @@ -348,14 +348,6 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, float zoomX, flo alpha = renderer->_forceAlphaColor;
}
- // This particular warning is rather messy, as this function is called a ton,
- // thus we avoid printing it more than once.
- static bool hasWarned = false;
- if (!hasWarned) {
- warning("BaseSurfaceOSystem::DrawSprite not fully ported yet"); // TODO.
- hasWarned = true;
- }
-
byte r = RGBCOLGetR(alpha);
byte g = RGBCOLGetG(alpha);
byte b = RGBCOLGetB(alpha);
@@ -363,10 +355,8 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, float zoomX, flo renderer->setAlphaMod(a);
renderer->setColorMod(r, g, b);
-#if 0
- SDL_SetTextureColorMod(_texture, r, g, b);
- SDL_SetTextureAlphaMod(_texture, a);
+#if 0 // These are kept for reference if BlendMode is reimplemented at some point.
if (alphaDisable) {
SDL_SetTextureBlendMode(_texture, SDL_BLENDMODE_NONE);
} else {
|