diff options
author | /dev/humancontroller <devhc@example.com> | 2017-01-30 02:20:18 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-07 17:34:58 +0100 |
commit | 9c27fee0e01ce9ceb83622068acfc4033625fde3 (patch) | |
tree | 48ae894f352a043d68a133255e5c211cc48d30a2 | |
parent | 5b7d7124f8702f55d2c0594d5e9c12c2c80dab1d (diff) |
fix usage of the specularScale variable
-rw-r--r-- | src/renderergl2/tr_shade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c index 2578420c..59f3802c 100644 --- a/src/renderergl2/tr_shade.c +++ b/src/renderergl2/tr_shade.c @@ -1271,7 +1271,7 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input ) 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); |