libgdx/libgdx — pull request #1942 by obigu (2014-06-07 16:07:38+00:00)
Title: Avoid unnecessary memory allocation on ImmediateModeRenderer20 end() call

Removes the implicit StringBuilder to generate the uniform name instantiated on every end() call replacing it with pre-generated values.

Because the end() method can be called once or more per frame, this could lead to memory allocation issues.