summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-22 12:57:17 -0500
committerDave Parks <davep@lindenlab.com>2011-09-22 12:57:17 -0500
commita1a71202990957b71ac40d6704816becef307f77 (patch)
treea5dea0917ac52a16efdbe99c093eeefe447ad39f /indra
parent3115e250ffded1270531fb6bdb3df8b2214fba1a (diff)
SH-2244 fix for glitched fonts
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llfontgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp
index 54f72d103e..607473d416 100644
--- a/indra/llrender/llfontgl.cpp
+++ b/indra/llrender/llfontgl.cpp
@@ -329,7 +329,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
if (glyph_count >= GLYPH_BATCH_SIZE)
{
- gGL.begin(LLRender::TRIANGLES);
+ gGL.begin(LLRender::QUADS);
{
gGL.vertexBatchPreTransformed(vertices, uvs, colors, glyph_count * 4);
}