]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed a few things to unsigned
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Mar 2005 04:12:59 +0000 (04:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Mar 2005 04:12:59 +0000 (04:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5103 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index 0161fede0b6d504c7b4b597b6e7c6e9c0193b36d..d40e618e72ec32518fedc138169b9055061dedbd 100644 (file)
@@ -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;