summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorTonya Souther <tonya.souther@gmail.com>2013-01-29 22:12:20 -0600
committerTonya Souther <tonya.souther@gmail.com>2013-01-29 22:12:20 -0600
commitada2d07572ca51159004eec82721d3dabe735bb8 (patch)
treee264760fdd0de42448b74968e3126e83a21c8f9d /indra/newview/llpanelface.cpp
parent1751c965ba1ffd1a89a3b94542624e70cbde1060 (diff)
Compile fix for potentially uninitialized variable.
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index f0daa96e19..024265b377 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -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();