summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/lldrawpoolbump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index ce4177d1f8..2b151487fd 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -1216,7 +1216,7 @@ void LLBumpImageList::onSourceLoaded( BOOL success, LLViewerTexture *src_vi, LLI
bump_ptr->setExplicitFormat(GL_RGBA8, GL_ALPHA);
- auto create_texture = [bump_ptr, dst_ptr]()
+ auto create_texture = [=]()
{
#if LL_IMAGEGL_THREAD_CHECK
bump_ptr->getGLTexture()->mActiveThread = LLThread::currentID();
@@ -1225,7 +1225,7 @@ void LLBumpImageList::onSourceLoaded( BOOL success, LLViewerTexture *src_vi, LLI
bump_ptr->createGLTexture(0, dst_ptr);
};
- auto gen_normal_map = [bump_ptr, dst_ptr]()
+ auto gen_normal_map = [=]()
{
#if LL_IMAGEGL_THREAD_CHECK
bump_ptr->getGLTexture()->mActiveThread = LLThread::currentID();