diff options
author | Dave Parks <davep@lindenlab.com> | 2021-10-21 21:19:48 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2021-10-21 21:19:48 +0000 |
commit | e774bffb28a71730792931aeb1ed6a46d3cfe67b (patch) | |
tree | d82248f9fc0678fb5e6e3c39f5d0011707b0a86c /indra/newview/llviewertexture.cpp | |
parent | 6ecf8f2c01dc90c26a8a0ccbd11abc2241debfa9 (diff) |
SL-16202 Fix for textures appearing black or flashing white due to optimization bugs.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 949e71a4c9..34847d8618 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1637,19 +1637,6 @@ void LLViewerFetchedTexture::scheduleCreateTexture() { //actually create the texture on a background thread createTexture(); - { - LL_PROFILE_ZONE_NAMED("iglt - sync"); - if (gGLManager.mHasSync) - { - auto sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); - glClientWaitSync(sync, 0, 0); - glDeleteSync(sync); - } - else - { - glFinish(); - } - } LLImageGLThread::sInstance->postCallback([this]() { //finalize on main thread |