]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Just in case, make loadsequence unsigned too.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Mar 2015 21:25:50 +0000 (21:25 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 2 Mar 2015 21:31:15 +0000 (22:31 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12172 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d3641b7330c7d8b70dc86d62315756785eee44b0

gl_rmain.c
model_shared.h

index 8572190380e502c71ed9f6a81b7d85c07334672f..0f05c02da28fdf209ba92cf47de1bf4aa4fa540f 100644 (file)
@@ -3169,7 +3169,7 @@ void R_SetupShader_DeferredLight(const rtlight_t *rtlight)
 
 typedef struct
 {
-       int loadsequence; // incremented each level change
+       unsigned int loadsequence; // incremented each level change
        memexpandablearray_t array;
        skinframe_t *hash[SKINFRAME_HASH];
 }
index 04d8cb4f1c7f3c55a765b344868e28efe71d534c..3fa07c791a4ad076ae21c75ae4789ca572a301e8 100644 (file)
@@ -68,7 +68,7 @@ typedef struct skinframe_s
        // mark and sweep garbage collection, this value is updated to a new value
        // on each level change for the used skinframes, if some are not used they
        // are freed
-       int loadsequence;
+       unsigned int loadsequence;
        // indicates whether this texture has transparent pixels
        qboolean hasalpha;
        // average texture color, if applicable