summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorVir Linden <vir@lindenlab.com>2021-10-25 15:55:06 +0000
committerVir Linden <vir@lindenlab.com>2021-10-25 15:55:06 +0000
commitba3459f77fc9b93c8dd79bc3ac7c59ba792da27f (patch)
tree6267b828141028889894be919263c6d19c6e54c1 /indra/newview/llviewertexture.cpp
parenta42b5d680935f08310de69f240435a7b67227a4d (diff)
parent3efd4c50a031ce0c1cb3d2fcc43e403136277e1f (diff)
Merged DRTVWR-546 into SL-15999
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r--indra/newview/llviewertexture.cpp13
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