Commit f9e7dfe9 authored by Frédéric Larue's avatar Frédéric Larue

Bug fixed in the management of shaders' uniform arrays.

parent c4dd00fe
...@@ -153,10 +153,6 @@ void GPU::Shader::RecoverActiveUniforms() ...@@ -153,10 +153,6 @@ void GPU::Shader::RecoverActiveUniforms()
std::string name( nameBuffer ); std::string name( nameBuffer );
size_t arraySymbolPos = name.find( "[" );
if( arraySymbolPos != std::string::npos )
name = name.substr( 0, arraySymbolPos );
switch( type ) switch( type )
{ {
case GL_SAMPLER_1D: case GL_SAMPLER_1D:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment