forked from Mirrorlandia_minetest/irrlicht
Avoid warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6043 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
f1a3995965
commit
985997a755
@ -648,7 +648,7 @@ bool COpenGLSLMaterialRenderer::setPixelShaderConstant(s32 index, const f32* flo
|
|||||||
{
|
{
|
||||||
if(floats)
|
if(floats)
|
||||||
{
|
{
|
||||||
const GLint id = static_cast<const GLint>(*floats);
|
const GLint id = static_cast<GLint>(*floats);
|
||||||
Driver->extGlUniform1iv(UniformInfo[index].location, 1, &id);
|
Driver->extGlUniform1iv(UniformInfo[index].location, 1, &id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user