forked from mirrors/0ad
751558d894
When CTextRenderer is given multiple strings with no differences other than position, render them in a single glDrawElements call to reduce driver overhead. Also avoid some unnecessary copies of std::wstrings. This helps performance a bit with large GUI text boxes. This was SVN commit r14018.