Removed compiler warning

This commit is contained in:
Jacob Støren 2016-08-15 14:25:12 +02:00
parent 79a025e06f
commit 20e7e9ec6e

View File

@ -541,7 +541,7 @@ void WBTransparencySurfaceEffectGenerator::initStaticData()
m_depth->enableDepthWrite(false);
m_renderPassUniform = new UniformInt("isOpaquePass", 1);
m_cameraNearUniform = new UniformFloat("cameraNear", 0.01);
m_cameraNearUniform = new UniformFloat("cameraNear", 0.01f);
m_cameraFarUniform = new UniformFloat("cameraFar",1000);
}