From d3641b7330c7d8b70dc86d62315756785eee44b0 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 2 Mar 2015 21:25:50 +0000 Subject: [PATCH] Just in case, make loadsequence unsigned too. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12172 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- model_shared.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2