From ddc70ed9ee635ee71e08b7b3bce0211198f01be5 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 12 Feb 2014 17:15:07 +0100 Subject: OPENGL: Properly use signed types for cursor hotspot. --- backends/graphics/opengl/opengl-graphics.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/graphics') 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. -- cgit v1.2.3