- fix automap render bug

This commit is contained in:
Magnus Norddahl 2018-01-25 20:22:51 +01:00
parent 2c9a2e7170
commit 30af6d38b3

View file

@ -139,7 +139,7 @@ bool FRenderState::ApplyShader()
}
else
{
activeShader = GLRenderer->mShaderManager->Get(mTextureEnabled ? mEffectState : 4, mAlphaThreshold >= 0.f, mPassType);
activeShader = GLRenderer->mShaderManager->Get(mTextureEnabled ? mEffectState : SHADER_NoTexture, mAlphaThreshold >= 0.f, mPassType);
activeShader->Bind();
}