Browse Source

pad shader uniform length pipe by 1 to avoid a bug with some integrated chips clipping

AzaezelX 4 years ago
parent
commit
9775d69988
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Engine/source/gfx/gl/gfxGLShader.cpp

+ 1 - 0
Engine/source/gfx/gl/gfxGLShader.cpp

@@ -561,6 +561,7 @@ void GFXGLShader::initConstantDescs()
 
    if(!maxNameLength)
       return;
+   maxNameLength++;
 
    FrameTemp<GLchar> uniformName(maxNameLength);