Resolved issue with nametag bubble vanishing due to incorrect blend states.

This commit is contained in:
Shyotl
2011-12-10 22:47:43 -06:00
parent 14f2248ea1
commit 5919c9a788

View File

@@ -275,6 +275,7 @@ void LLHUDNameTag::renderText(BOOL for_select)
LLGLState gls_blend(GL_BLEND, for_select ? FALSE : TRUE);
LLGLState gls_alpha(GL_ALPHA_TEST, for_select ? FALSE : TRUE);
gGL.setSceneBlendType(LLRender::BT_ALPHA); //Workaround avoiding inheriting stale blendstate from... something.
LLColor4 shadow_color(0.f, 0.f, 0.f, 1.f);
F32 alpha_factor = 1.f;