summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-02-23 16:04:31 -0600
committerDave Parks <davep@lindenlab.com>2022-02-23 16:04:31 -0600
commit8ffe3b7b3047381f9c17d0f09757e921ffc246cb (patch)
treec142644dea1130ceac790fb8ce9e3d9980e2cba5 /indra/newview
parent74641a121316a13e106d525fb1684c517791766d (diff)
Fix for mac build
Diffstat (limited to 'indra/newview')
-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();