SH-2240 Fix for beacons not rendering (or crashing when rendered)

meow-7.2.2
Dave Parks 2011-10-06 15:34:28 -05:00
parent 40fe25632c
commit a90ea46804
1 changed files with 5 additions and 0 deletions

View File

@ -777,6 +777,11 @@ void LLViewerObjectList::renderObjectBeacons()
LLGLSUIDefault gls_ui;
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.bind();
}
{
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);