OpenGL2: Fix specularScale override not being used in RB_IterateStagesGeneric

This commit is contained in:
Zack Middleton 2016-05-09 10:47:34 -05:00
parent 8b458e5457
commit acd659b05a

View file

@ -1270,7 +1270,7 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
specularScale[1] = 0.0f; specularScale[1] = 0.0f;
} }
GLSL_SetUniformVec4(sp, UNIFORM_SPECULARSCALE, pStage->specularScale); GLSL_SetUniformVec4(sp, UNIFORM_SPECULARSCALE, specularScale);
} }
//GLSL_SetUniformFloat(sp, UNIFORM_MAPLIGHTSCALE, backEnd.refdef.mapLightScale); //GLSL_SetUniformFloat(sp, UNIFORM_MAPLIGHTSCALE, backEnd.refdef.mapLightScale);