Skip to content
Snippets Groups Projects
Commit a1a71202 authored by David Parks's avatar David Parks
Browse files

SH-2244 fix for glitched fonts

parent 3115e250
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons ...@@ -329,7 +329,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
if (glyph_count >= GLYPH_BATCH_SIZE) if (glyph_count >= GLYPH_BATCH_SIZE)
{ {
gGL.begin(LLRender::TRIANGLES); gGL.begin(LLRender::QUADS);
{ {
gGL.vertexBatchPreTransformed(vertices, uvs, colors, glyph_count * 4); gGL.vertexBatchPreTransformed(vertices, uvs, colors, glyph_count * 4);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment