From c52edc0c11809b4de93c1a78befad1a9606d8ab2 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 29 Oct 2013 23:11:32 -0500 Subject: Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTE --- src/renderergl1/tr_model_iqm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderergl1/tr_model_iqm.c') 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 ) -- cgit