diff --git a/source/Irrlicht/COpenGLSLMaterialRenderer.cpp b/source/Irrlicht/COpenGLSLMaterialRenderer.cpp index 5b2caba..6686d18 100644 --- a/source/Irrlicht/COpenGLSLMaterialRenderer.cpp +++ b/source/Irrlicht/COpenGLSLMaterialRenderer.cpp @@ -648,7 +648,7 @@ bool COpenGLSLMaterialRenderer::setPixelShaderConstant(s32 index, const f32* flo { if(floats) { - const GLint id = static_cast(*floats); + const GLint id = static_cast(*floats); Driver->extGlUniform1iv(UniformInfo[index].location, 1, &id); } else