More changing doubles to floats to make VS happy.

meow-7.2.2
Liny 2019-03-31 17:41:12 -07:00
parent aca131ad10
commit 44fe6e7c5f
1 changed files with 2 additions and 2 deletions

View File

@ -1593,11 +1593,11 @@ void LLEnvironment::updateGLVariablesForSettings(LLGLSLShader *shader, const LLS
if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender && !LLPipeline::sUnderWaterRender)
{
shader->uniform1f(LLShaderMgr::GLOBAL_GAMMA, 2.2);
shader->uniform1f(LLShaderMgr::GLOBAL_GAMMA, 2.2f);
}
else
{
shader->uniform1f(LLShaderMgr::GLOBAL_GAMMA, 1.0);
shader->uniform1f(LLShaderMgr::GLOBAL_GAMMA, 1.0f);
}
}