From: havoc Date: Mon, 21 Mar 2005 09:57:52 +0000 (+0000) Subject: fix a bug in R_Mesh_Finish introduced by the unsigned int i fix X-Git-Tag: xonotic-v0.1.0preview~5057 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=3b76310d7248236ee6f22010e950ae4aa6d7bc62;p=xonotic%2Fdarkplaces.git fix a bug in R_Mesh_Finish introduced by the unsigned int i fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5116 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_backend.c b/gl_backend.c index 149ef4d4..46d9ef83 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -1054,7 +1054,7 @@ void R_Mesh_Finish(void) } for (i = 0;i < backendunits;i++) { - GL_ActiveTexture(backendarrayunits - 1 - i); + GL_ActiveTexture(backendunits - 1 - i); qglDisable(GL_TEXTURE_1D);CHECKGLERROR qglDisable(GL_TEXTURE_2D);CHECKGLERROR if (gl_texture3d)