From a90ea46804d1fdb60d44178140b12e341c715178 Mon Sep 17 00:00:00 2001
From: Dave Parks <davep@lindenlab.com>
Date: Thu, 6 Oct 2011 15:34:28 -0500
Subject: [PATCH] SH-2240 Fix for beacons not rendering (or crashing when
 rendered)

---
 indra/newview/llglsandbox.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index 8c872283bdf..844d7ba41c8 100644
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -777,6 +777,11 @@ void LLViewerObjectList::renderObjectBeacons()
 
 	LLGLSUIDefault gls_ui;
 
+	if (LLGLSLShader::sNoFixedFunction)
+	{
+		gUIProgram.bind();
+	}
+
 	{
 		gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
 
-- 
GitLab