From 49dcd36e72889b3edb67ce098af7cb854e499cb8 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 12 Feb 2014 17:15:07 +0100 Subject: OPENGL: Use signed types for mouse coordinates. This adjusts for the fact that our event handling also uses signed coordinates. --- backends/graphics/opengl/opengl-graphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') 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. -- cgit v1.2.3