mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
pad shader uniform length pipe by 1 to avoid a bug with some integrated chips clipping
This commit is contained in:
parent
8ce207561e
commit
9775d69988
1 changed files with 1 additions and 0 deletions
|
|
@ -561,6 +561,7 @@ void GFXGLShader::initConstantDescs()
|
||||||
|
|
||||||
if(!maxNameLength)
|
if(!maxNameLength)
|
||||||
return;
|
return;
|
||||||
|
maxNameLength++;
|
||||||
|
|
||||||
FrameTemp<GLchar> uniformName(maxNameLength);
|
FrameTemp<GLchar> uniformName(maxNameLength);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue