summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_model_iqm.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-10-29 23:18:05 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:35 +0100
commit0b82fba3827931d45903305f5f9a93b053a48bfa (patch)
tree7b3a4c8e9a132c31a962a6bb753acfa4ee33bcc3 /src/renderergl1/tr_model_iqm.c
parentc52edc0c11809b4de93c1a78befad1a9606d8ab2 (diff)
Initialize blendIndexesType and blendWeightsType
Diffstat (limited to 'src/renderergl1/tr_model_iqm.c')
-rw-r--r--src/renderergl1/tr_model_iqm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/renderergl1/tr_model_iqm.c b/src/renderergl1/tr_model_iqm.c
index f12b8cac..4f4c5173 100644
--- a/src/renderergl1/tr_model_iqm.c
+++ b/src/renderergl1/tr_model_iqm.c
@@ -207,6 +207,8 @@ qboolean R_LoadIQM( model_t *mod, void *buffer, int filesize, const char *mod_na
return qfalse;
}
+ blendIndexesType = blendWeightsType = IQM_UBYTE;
+
// check and swap vertex arrays
if( IQM_CheckRange( header, header->ofs_vertexarrays,
header->num_vertexarrays,