diff options
author | Torbjörn Andersson | 2007-12-29 14:11:12 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-12-29 14:11:12 +0000 |
commit | 32e2f9e8f3ed728755187bf2a3d04542deec7857 (patch) | |
tree | 743600953899aac9bcc1cf8d6db6e55d7b4b5105 | |
parent | 6a81b7d4726ce2f5858c1729d0bec9a9e0771c36 (diff) | |
download | scummvm-rg350-32e2f9e8f3ed728755187bf2a3d04542deec7857.tar.gz scummvm-rg350-32e2f9e8f3ed728755187bf2a3d04542deec7857.tar.bz2 scummvm-rg350-32e2f9e8f3ed728755187bf2a3d04542deec7857.zip |
Fixed warning when DISABLE_SCALERS is defined.
svn-id: r30074
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index b3e5a0cd65..7061f4a036 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1407,7 +1407,10 @@ void OSystem_SDL::blitCursor() { _mouseCurState.vHotY = _mouseCurState.hotY; } +#ifndef DISABLE_SCALERS int rH1 = rH; // store original to pass to aspect-correction function later +#endif + if (_adjustAspectRatio && _cursorTargetScale == 1) { rH = real2Aspect(rH - 1) + 1; _mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY); |