diff options
author | Einar Johan Trøan Sømåen | 2013-08-20 15:24:35 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-08-20 15:25:01 +0200 |
commit | 913f03a2ba319bb8f1ec35a980b28dab471aee00 (patch) | |
tree | e49f00ad0a7cd777f00b40c3541a313e89efcddb /engines/wintermute/base/gfx/osystem/base_surface_osystem.h | |
parent | cc16cb5823eebca8d14fc509057b223d1cc22b3f (diff) | |
download | scummvm-rg350-913f03a2ba319bb8f1ec35a980b28dab471aee00.tar.gz scummvm-rg350-913f03a2ba319bb8f1ec35a980b28dab471aee00.tar.bz2 scummvm-rg350-913f03a2ba319bb8f1ec35a980b28dab471aee00.zip |
WINTERMUTE: Avoid doing alpha-blits when image doesn't have alpha.
Also detect images with only binary alpha.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_surface_osystem.h')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h index da86833517..ad1e9cf737 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h @@ -90,7 +90,7 @@ private: uint32 getPixelAt(Graphics::Surface *surface, int x, int y); uint32 _rotation; - bool _hasAlpha; + AlphaType _alphaType; void *_lockPixels; int _lockPitch; byte *_alphaMask; |