[Scummvm-cvs-logs] SF.net SVN: scummvm:[33127] residual/trunk/engine/backend/sdl/driver_gl.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun Jul 20 16:30:54 CEST 2008


Revision: 33127
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33127&view=rev
Author:   drmccoy
Date:     2008-07-20 14:30:25 +0000 (Sun, 20 Jul 2008)

Log Message:
-----------
Shutting up 2 "signed implicitely converted to unsigned"-warning

Modified Paths:
--------------
    residual/trunk/engine/backend/sdl/driver_gl.cpp

Modified: residual/trunk/engine/backend/sdl/driver_gl.cpp
===================================================================
--- residual/trunk/engine/backend/sdl/driver_gl.cpp	2008-07-20 13:59:41 UTC (rev 33126)
+++ residual/trunk/engine/backend/sdl/driver_gl.cpp	2008-07-20 14:30:25 UTC (rev 33127)
@@ -228,7 +228,7 @@
 	glClear(GL_STENCIL_BUFFER_BIT);
 
 	glEnable(GL_STENCIL_TEST);
-	glStencilFunc(GL_ALWAYS, 1, ~0);
+	glStencilFunc(GL_ALWAYS, 1, (GLuint) ~0);
 	glStencilOp(GL_REPLACE, GL_REPLACE, GL_REPLACE);
 	glDisable(GL_LIGHTING);
 	glDisable(GL_TEXTURE);
@@ -243,7 +243,7 @@
 	}
 	glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
 
-	glStencilFunc(GL_EQUAL, 1, ~0);
+	glStencilFunc(GL_EQUAL, 1, (GLuint) ~0);
 	glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP);
 }
 


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