mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Merging r6122 through r6127 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6128 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -736,6 +736,7 @@ bool COpenGLSLMaterialRenderer::setPixelShaderConstant(s32 index, const u32* int
|
||||
case GL_UNSIGNED_INT:
|
||||
Driver->extGlUniform1uiv(UniformInfo[index].location, count, reinterpret_cast<const GLuint*>(ints));
|
||||
break;
|
||||
#if defined(GL_VERSION_3_0)
|
||||
case GL_UNSIGNED_INT_VEC2:
|
||||
Driver->extGlUniform2uiv(UniformInfo[index].location, count/2, reinterpret_cast<const GLuint*>(ints));
|
||||
break;
|
||||
@ -745,6 +746,7 @@ bool COpenGLSLMaterialRenderer::setPixelShaderConstant(s32 index, const u32* int
|
||||
case GL_UNSIGNED_INT_VEC4:
|
||||
Driver->extGlUniform4uiv(UniformInfo[index].location, count/4, reinterpret_cast<const GLuint*>(ints));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
status = false;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user