Compile fix for potentially uninitialized variable.

master
Tonya Souther 2013-01-29 22:12:20 -06:00
parent 1751c965ba
commit ada2d07572
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ void LLPanelFace::getState()
{
LLGLenum get(LLViewerObject* object, S32 te_index)
{
LLGLenum image_format;
LLGLenum image_format = GL_RGB;
LLViewerTexture* image = object->getTEImage(te_index);
if (image) image_format = image->getPrimaryFormat();