From: molivier Date: Thu, 17 Jan 2002 17:38:45 +0000 (+0000) Subject: Fixed a couple of warnings on MSVC6 X-Git-Tag: RELEASE_0_2_0_RC1~718 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ebd31290ce1ab1a0a413b461f1f0bf85f01329d;p=xonotic%2Fdarkplaces.git Fixed a couple of warnings on MSVC6 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1360 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_backend.c b/gl_backend.c index 83b02699..16a92c25 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -317,7 +317,7 @@ CHECKGLERROR glDisable(GL_BLEND); CHECKGLERROR depthmask = true; - glDepthMask((GLuint) depthmask); + glDepthMask((GLboolean) depthmask); CHECKGLERROR CHECKGLERROR @@ -548,7 +548,7 @@ CHECKGLERROR if (depthmask != mesh->depthmask) { depthmask = mesh->depthmask; - glDepthMask((GLuint) depthmask); + glDepthMask((GLboolean) depthmask); CHECKGLERROR }