Compile fix for potentially uninitialized variable.
parent
1751c965ba
commit
ada2d07572
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue