[Scummvm-cvs-logs] SF.net SVN: scummvm:[51592] scummvm/branches/gsoc2010-opengl/backends/ graphics/opengl/opengl-graphics.cpp
vgvgf at users.sourceforge.net
vgvgf at users.sourceforge.net
Sun Aug 1 22:49:14 CEST 2010
Revision: 51592
http://scummvm.svn.sourceforge.net/scummvm/?rev=51592&view=rev
Author: vgvgf
Date: 2010-08-01 20:49:13 +0000 (Sun, 01 Aug 2010)
Log Message:
-----------
Fix warnings.
Modified Paths:
--------------
scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp
Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp 2010-08-01 20:48:25 UTC (rev 51591)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp 2010-08-01 20:49:13 UTC (rev 51592)
@@ -817,7 +817,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list