mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:08:53 +02: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 THREADED_TEXTURE_BUFFERING
|
||||||
if (!_transferThread) {
|
if (!_transferThread) {
|
||||||
_transferThread = new TextureBufferThread(*this);
|
_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();
|
_transferThread->start();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue