From: havoc Date: Mon, 21 Mar 2005 04:12:59 +0000 (+0000) Subject: changed a few things to unsigned X-Git-Tag: xonotic-v0.1.0preview~5065 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=56907dd5e21a9a0ffaa655213e11a087edc32f41;p=xonotic%2Fdarkplaces.git changed a few things to unsigned git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5103 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_backend.c b/gl_backend.c index 0161fede..d40e618e 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -400,7 +400,7 @@ typedef struct gltextureunit_s { int t1d, t2d, t3d, tcubemap; int arrayenabled; - int arraycomponents; + unsigned int arraycomponents; const void *pointer_texcoord; float rgbscale, alphascale; int combinergb, combinealpha; @@ -420,8 +420,8 @@ static struct int colormask; // stored as bottom 4 bits: r g b a (3 2 1 0 order) int depthtest; int scissortest; - int unit; - int clientunit; + unsigned int unit; + unsigned int clientunit; gltextureunit_t units[MAX_TEXTUREUNITS]; float color4f[4]; int lockrange_first;