From eefe80995054569491fa80bc9705581ad9bf002d Mon Sep 17 00:00:00 2001 From: HifiExperiments Date: Fri, 19 Feb 2021 19:31:06 -0800 Subject: [PATCH] CR --- libraries/gpu-gl-common/src/gpu/gl/GLTextureTransfer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/gpu-gl-common/src/gpu/gl/GLTextureTransfer.cpp b/libraries/gpu-gl-common/src/gpu/gl/GLTextureTransfer.cpp index 1b57d4292c..0712f68541 100644 --- a/libraries/gpu-gl-common/src/gpu/gl/GLTextureTransfer.cpp +++ b/libraries/gpu-gl-common/src/gpu/gl/GLTextureTransfer.cpp @@ -304,7 +304,9 @@ void GLTextureTransferEngineDefault::processTransferQueues() { #if THREADED_TEXTURE_BUFFERING if (!_transferThread) { _transferThread = new TextureBufferThread(*this); - QObject::connect(_transferThread, &QThread::started, [] { setThreadName("TextureBufferThread"); }); + QString name = "TextureBufferThread"; + _transferThread->setObjectName(name); + QObject::connect(_transferThread, &QThread::started, [name] { setThreadName(name.toStdString()); }); _transferThread->start(); } #endif