From 985997a7559d8ce00b00fcd55da33713bf04df51 Mon Sep 17 00:00:00 2001 From: cutealien Date: Sat, 4 Jan 2020 18:51:01 +0000 Subject: [PATCH] Avoid warning. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6043 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/COpenGLSLMaterialRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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