aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorCameron Cawley2019-11-23 18:42:04 +0000
committerCameron Cawley2019-11-23 18:42:04 +0000
commit8ae0be4ae3ca4093ac4140abcb16d5b03dd59810 (patch)
treef55c5cd33af3977c574b890deff75c55c9a3c84a /backends
parenta2110d36f91fcc9713fccd7a8ef95dc5ae5e907c (diff)
downloadscummvm-rg350-8ae0be4ae3ca4093ac4140abcb16d5b03dd59810.tar.gz
scummvm-rg350-8ae0be4ae3ca4093ac4140abcb16d5b03dd59810.tar.bz2
scummvm-rg350-8ae0be4ae3ca4093ac4140abcb16d5b03dd59810.zip
GPH: Remove unused variable
Diffstat (limited to 'backends')
-rw-r--r--backends/graphics/gph/gph-graphics.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp
index c54c6f26a5..434b779e74 100644
--- a/backends/graphics/gph/gph-graphics.cpp
+++ b/backends/graphics/gph/gph-graphics.cpp
@@ -126,7 +126,6 @@ void GPHGraphicsManager::drawMouse() {
SDL_Rect dst;
int scale;
- int width, height;
int hotX, hotY;
if (_videoMode.mode == GFX_HALF && !_overlayVisible) {
@@ -139,16 +138,12 @@ void GPHGraphicsManager::drawMouse() {
if (!_overlayVisible) {
scale = _videoMode.scaleFactor;
- width = _videoMode.screenWidth;
- height = _videoMode.screenHeight;
dst.w = _mouseCurState.vW;
dst.h = _mouseCurState.vH;
hotX = _mouseCurState.vHotX;
hotY = _mouseCurState.vHotY;
} else {
scale = 1;
- width = _videoMode.overlayWidth;
- height = _videoMode.overlayHeight;
dst.w = _mouseCurState.rW;
dst.h = _mouseCurState.rH;
hotX = _mouseCurState.rHotX;