diff options
author | Johannes Schickel | 2014-02-12 17:15:07 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-02-12 17:15:07 +0100 |
commit | ddc70ed9ee635ee71e08b7b3bce0211198f01be5 (patch) | |
tree | 15f4196af681c7cc16d188263af4a4ae07551894 | |
parent | 2589228329759839b066aa9c6e4192095573812c (diff) | |
download | scummvm-rg350-ddc70ed9ee635ee71e08b7b3bce0211198f01be5.tar.gz scummvm-rg350-ddc70ed9ee635ee71e08b7b3bce0211198f01be5.tar.bz2 scummvm-rg350-ddc70ed9ee635ee71e08b7b3bce0211198f01be5.zip |
OPENGL: Properly use signed types for cursor hotspot.
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index 6b13db8558..46fd687666 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -396,12 +396,12 @@ private: /** * The X offset for the cursor hotspot in unscaled coordinates. */ - uint _cursorHotspotX; + int _cursorHotspotX; /** * The Y offset for the cursor hotspot in unscaled coordinates. */ - uint _cursorHotspotY; + int _cursorHotspotY; /** * Recalculate the cursor scaling. Scaling is always done according to @@ -412,12 +412,12 @@ private: /** * The X offset for the cursor hotspot in scaled coordinates. */ - uint _cursorHotspotXScaled; + int _cursorHotspotXScaled; /** * The Y offset for the cursor hotspot in scaled coordinates. */ - uint _cursorHotspotYScaled; + int _cursorHotspotYScaled; /** * The width of the cursor scaled coordinates. |