From 56907dd5e21a9a0ffaa655213e11a087edc32f41 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 21 Mar 2005 04:12:59 +0000 Subject: [PATCH] changed a few things to unsigned git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5103 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_backend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2