aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
authorAlejandro Marzini2010-08-01 20:49:13 +0000
committerAlejandro Marzini2010-08-01 20:49:13 +0000
commitb816849c7898085e543a672fa9c0a657246afd62 (patch)
tree0814ac94dd34327b6a337ed9ed81232dd17e13e3 /backends/graphics/opengl
parentce271697eacd21b285525d3d899e000e143b2d00 (diff)
downloadscummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.tar.gz
scummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.tar.bz2
scummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.zip
Fix warnings.
svn-id: r51592
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r--backends/graphics/opengl/opengl-graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index 60eae8b7ea..206823adb0 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -817,7 +817,7 @@ void OpenGLGraphicsManager::refreshCursorScale() {
uint screenScaleFactor = MIN(_videoMode.hardwareWidth * 10000 / _videoMode.screenWidth,
_videoMode.hardwareHeight * 10000 / _videoMode.screenHeight);
- if (_cursorTargetScale * 10000 >= screenScaleFactor && _videoMode.scaleFactor * 10000 >= screenScaleFactor) {
+ if ((uint)_cursorTargetScale * 10000 >= screenScaleFactor && (uint)_videoMode.scaleFactor * 10000 >= screenScaleFactor) {
// If the cursor target scale and the video mode scale factor are bigger than
// the current window scale, do not scale the cursor for the overlay
_cursorState.rW = _cursorState.w;