mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
CR
This commit is contained in:
parent
30c4779eeb
commit
eefe809950
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue