mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-10 09:43:52 +01:00
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)
|
||||
{
|
||||
const GLint id = static_cast<const GLint>(*floats);
|
||||
const GLint id = static_cast<GLint>(*floats);
|
||||
Driver->extGlUniform1iv(UniformInfo[index].location, 1, &id);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user