summaryrefslogtreecommitdiff
path: root/indra/newview/llhudobject.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-13 11:20:23 -0500
committerDave Parks <davep@lindenlab.com>2022-10-13 11:20:23 -0500
commit0e3f8db632e2f616b0ab9bd3363c20d2f1acb549 (patch)
treea1b3119513e7d2210f4c43fbb684d3a650f55bfa /indra/newview/llhudobject.cpp
parentc06fd0d753985297105e4656b7e2c39d155ba2b5 (diff)
SL-18190 Fix for blurry name tags.
Diffstat (limited to 'indra/newview/llhudobject.cpp')
-rw-r--r--indra/newview/llhudobject.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llhudobject.cpp b/indra/newview/llhudobject.cpp
index 45fa09e1a1..fe6793ce73 100644
--- a/indra/newview/llhudobject.cpp
+++ b/indra/newview/llhudobject.cpp
@@ -267,6 +267,13 @@ void LLHUDObject::updateAll()
// static
void LLHUDObject::renderAll()
{
+ LLGLSUIDefault gls_ui;
+
+ gGL.color4f(1, 1, 1, 1);
+
+ gUIProgram.bind();
+ LLGLDepthTest depth(GL_FALSE, GL_FALSE);
+
LLHUDObject *hud_objp;
hud_object_list_t::iterator object_it;
@@ -285,6 +292,7 @@ void LLHUDObject::renderAll()
}
LLVertexBuffer::unbind();
+ gUIProgram.unbind();
}
// static