Skip to content

Commit

Permalink
OpenGL2: Fix specularScale override not being used in RB_IterateStage…
Browse files Browse the repository at this point in the history
…sGeneric
  • Loading branch information
zturtleman committed May 9, 2016
1 parent 8b458e5 commit acd659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/renderergl2/tr_shade.c
Expand Up @@ -1270,7 +1270,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);
Expand Down

0 comments on commit acd659b

Please sign in to comment.