summaryrefslogtreecommitdiff
path: root/indra/newview/lltextureatlas.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-05-25 17:58:12 -0500
committerDave Parks <davep@lindenlab.com>2012-05-25 17:58:12 -0500
commite3a5125b41def6dbc27c6852f48b45da7377bb50 (patch)
treefbde12364475b623a5e928a8f8ab5041226483db /indra/newview/lltextureatlas.cpp
parentabaf0155b47c5e020efa7e4600524c0c6d49319f (diff)
MAINT-616 Potential fix for corrupted mip maps.
Diffstat (limited to 'indra/newview/lltextureatlas.cpp')
-rw-r--r--indra/newview/lltextureatlas.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/lltextureatlas.cpp b/indra/newview/lltextureatlas.cpp
index d2e4b01732..f8c1bca8ae 100644
--- a/indra/newview/lltextureatlas.cpp
+++ b/indra/newview/lltextureatlas.cpp
@@ -116,7 +116,6 @@ LLGLuint LLTextureAtlas::insertSubTexture(LLImageGL* source_gl_tex, S32 discard_
return 0 ;
}
- glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, TRUE);
glTexSubImage2D(GL_TEXTURE_2D, 0, xoffset, yoffset, w, h,
mGLTexturep->getPrimaryFormat(), mGLTexturep->getFormatType(), raw_image->getData());