libgdx/libgdx — pull request #1941 by obigu (2014-06-07 13:30:23+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.