diff options
author | Johannes Schickel | 2014-02-12 17:15:07 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-02-12 17:15:07 +0100 |
commit | 49dcd36e72889b3edb67ce098af7cb854e499cb8 (patch) | |
tree | abac05b2eae6834a2fc2377b4c7ea1d43520feb7 /backends/graphics | |
parent | ddc70ed9ee635ee71e08b7b3bce0211198f01be5 (diff) | |
download | scummvm-rg350-49dcd36e72889b3edb67ce098af7cb854e499cb8.tar.gz scummvm-rg350-49dcd36e72889b3edb67ce098af7cb854e499cb8.tar.bz2 scummvm-rg350-49dcd36e72889b3edb67ce098af7cb854e499cb8.zip |
OPENGL: Use signed types for mouse coordinates.
This adjusts for the fact that our event handling also uses signed coordinates.
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index 46fd687666..d16f92d148 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -386,12 +386,12 @@ private: /** * X coordinate of the cursor in phyiscal coordinates. */ - uint _cursorX; + int _cursorX; /** * Y coordinate of the cursor in physical coordinates. */ - uint _cursorY; + int _cursorY; /** * The X offset for the cursor hotspot in unscaled coordinates. |