]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Mar 2015 21:25:50 +0000 (21:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12172 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c
model_shared.h

index a9e5bf299a44b72b163e8954d2142e6445ec4fdd..daaeb8131a90babd3dd493a8ab9f06ef0ee6b5f0 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