diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-05-24 10:50:48 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-05-24 10:50:48 -0500 |
| commit | efda0814cbae7917fde634c5e245c81915b17a9c (patch) | |
| tree | b9557284c32016de2d4a32f484e66a8fcad47b2c /indra/newview/llfloatermodelpreview.cpp | |
| parent | f2c2b88033e912be00ba0c08bc7f074d6881d1d5 (diff) | |
MAINT-616 Fix for corrupted mipmaps. Cleanup based on code review feedback.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
| -rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index b362fa340c..40d2157e28 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -396,7 +396,6 @@ mCalculateBtn(NULL) sInstance = this; mLastMouseX = 0; mLastMouseY = 0; - mGLName = 0; mStatusLock = new LLMutex(NULL); mModelPreview = NULL; @@ -538,11 +537,6 @@ LLFloaterModelPreview::~LLFloaterModelPreview() delete mModelPreview; } - if (mGLName) - { - LLImageGL::deleteTextures(LLTexUnit::TT_TEXTURE, 1, &mGLName ); - } - delete mStatusLock; mStatusLock = NULL; } |
