diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 00:05:15 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 00:05:15 +0200 |
commit | bb131aaa072d1d75e7d1c0a5f6f0ef3614fc8eb7 (patch) | |
tree | 1318857f4a33ade24b8370ec481b8d4fe29d54e8 /engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | |
parent | 90e174eeb28a956e67b3e3e2d2b38489ded958c8 (diff) | |
download | scummvm-rg350-bb131aaa072d1d75e7d1c0a5f6f0ef3614fc8eb7.tar.gz scummvm-rg350-bb131aaa072d1d75e7d1c0a5f6f0ef3614fc8eb7.tar.bz2 scummvm-rg350-bb131aaa072d1d75e7d1c0a5f6f0ef3614fc8eb7.zip |
WINTERMUTE: Clean up some TODOs.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp index aa9cc8474a..5e6347fdef 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp @@ -57,7 +57,6 @@ BaseSurfaceOSystem::BaseSurfaceOSystem(BaseGame *inGame) : BaseSurface(inGame) { //////////////////////////////////////////////////////////////////////////
BaseSurfaceOSystem::~BaseSurfaceOSystem() {
- //TODO
if (_surface) {
_surface->free();
delete _surface;
@@ -385,8 +384,8 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, float zoomX, flo Common::Rect position;
position.left = x + offsetX;
position.top = y + offsetY;
- // TODO: Scaling...
+ // Crop off-by-ones:
if (position.left == -1) {
position.left = 0; // TODO: Something is wrong
}
|