aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2014-02-12 17:15:07 +0100
committerJohannes Schickel2014-02-12 17:15:07 +0100
commit49dcd36e72889b3edb67ce098af7cb854e499cb8 (patch)
treeabac05b2eae6834a2fc2377b4c7ea1d43520feb7
parentddc70ed9ee635ee71e08b7b3bce0211198f01be5 (diff)
downloadscummvm-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.
-rw-r--r--backends/graphics/opengl/opengl-graphics.h4
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.