From: divverent Date: Mon, 2 Mar 2015 21:25:50 +0000 (+0000) Subject: Just in case, make loadsequence unsigned too. X-Git-Tag: xonotic-v0.8.1~8^2~31 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d3641b7330c7d8b70dc86d62315756785eee44b0;p=xonotic%2Fdarkplaces.git Just in case, make loadsequence unsigned too. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12172 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index a9e5bf29..daaeb813 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -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]; } diff --git a/model_shared.h b/model_shared.h index 04d8cb4f..3fa07c79 100644 --- a/model_shared.h +++ b/model_shared.h @@ -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