diff options
author | Einar Johan Trøan Sømåen | 2012-07-16 22:16:56 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-16 22:16:56 +0200 |
commit | 2aa6fa4d58726bd81c28f1fd432b8197965644d3 (patch) | |
tree | c2eb363a66afaf292c9eff31e3cdfc11df551e4d /engines/wintermute/Base/BRenderSDL.h | |
parent | b5de9967edba817f57704dacfe95bbfe935d7be9 (diff) | |
download | scummvm-rg350-2aa6fa4d58726bd81c28f1fd432b8197965644d3.tar.gz scummvm-rg350-2aa6fa4d58726bd81c28f1fd432b8197965644d3.tar.bz2 scummvm-rg350-2aa6fa4d58726bd81c28f1fd432b8197965644d3.zip |
WINTERMUTE: Fix a few issues with the renderTicket-solution, and enable it by default.
Diffstat (limited to 'engines/wintermute/Base/BRenderSDL.h')
-rw-r--r-- | engines/wintermute/Base/BRenderSDL.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BRenderSDL.h b/engines/wintermute/Base/BRenderSDL.h index 1e7acf51f3..8d23a5bb12 100644 --- a/engines/wintermute/Base/BRenderSDL.h +++ b/engines/wintermute/Base/BRenderSDL.h @@ -44,8 +44,7 @@ public: Graphics::Surface *_surface;
Common::Rect _srcRect;
Common::Rect _dstRect;
- bool _mirrorX;
- bool _mirrorY;
+ uint32 _mirror;
bool _hasAlpha;
bool _isValid;
@@ -103,7 +102,7 @@ public: private:
void addDirtyRect(const Common::Rect &rect);
void drawTickets();
- void drawFromSurface(const Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRect, Common::Rect *clipRect, bool mirrorX = false, bool mirrorY = false);
+ void drawFromSurface(const Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRect, Common::Rect *clipRect, uint32 mirror);
typedef Common::List<RenderTicket*>::iterator RenderQueueIterator;
Common::Rect *_dirtyRect;
Common::List<RenderTicket*> _renderQueue;
|