GRIM/EMI: Use the correct setUniform function for "alphaRef"

This commit is contained in:
Christian Krause 2014-09-17 01:23:31 +02:00
parent 598bfc5fe9
commit d9ade245d6

View file

@ -694,7 +694,7 @@ void GfxOpenGLS::startActorDraw(const Actor *actor) {
_actorProgram->setUniform("isBillboard", GL_FALSE);
_actorProgram->setUniform("useVertexAlpha", GL_FALSE);
_actorProgram->setUniform("uniformColor", color);
_actorProgram->setUniform("alphaRef", 0.0f);
_actorProgram->setUniform1f("alphaRef", 0.0f);
} else {
Math::Matrix4 modelMatrix = quat.toMatrix();
bool hasZBuffer = g_grim->getCurrSet()->getCurrSetup()->_bkgndZBm;