summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_model_iqm.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-10-29 23:11:32 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:35 +0100
commitc52edc0c11809b4de93c1a78befad1a9606d8ab2 (patch)
tree6f9ba7ca164ddc38e7ccee3e7f54fbe4221f2942 /src/renderergl1/tr_model_iqm.c
parent3184c8305d8e3224cc648d453bacf6d9910b3fa6 (diff)
Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTE
Diffstat (limited to 'src/renderergl1/tr_model_iqm.c')
-rw-r--r--src/renderergl1/tr_model_iqm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl1/tr_model_iqm.c b/src/renderergl1/tr_model_iqm.c
index e8375b0d..f12b8cac 100644
--- a/src/renderergl1/tr_model_iqm.c
+++ b/src/renderergl1/tr_model_iqm.c
@@ -1057,7 +1057,7 @@ void RB_IQMSurfaceAnim( surfaceType_t *surface ) {
for ( numWeights = 0; numWeights < 4; numWeights++ ) {
if ( data->blendWeightsType == IQM_FLOAT )
blendWeights[numWeights] = data->blendWeights.f[4*vtx + numWeights];
- else // IQM_BYTE
+ else
blendWeights[numWeights] = (float)data->blendWeights.b[4*vtx + numWeights] / 255.0f;
if ( blendWeights[numWeights] <= 0 )