mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 02:22:10 +02:00
If not in DEBUG then do not call qcDebug (in NetworkTexture::ktxInitialDataRequestFinished)
This commit is contained in:
parent
ad191defb8
commit
10ce785ad7
1 changed files with 4 additions and 0 deletions
|
@ -642,8 +642,12 @@ void NetworkTexture::ktxInitialDataRequestFinished() {
|
|||
}
|
||||
|
||||
if (result == ResourceRequest::Success) {
|
||||
|
||||
// This is an expensive operation that we do not want in release.
|
||||
#ifdef DEBUG
|
||||
auto extraInfo = _url == _activeUrl ? "" : QString(", %1").arg(_activeUrl.toDisplayString());
|
||||
qCDebug(networking).noquote() << QString("Request finished for %1%2").arg(_url.toDisplayString(), extraInfo);
|
||||
#endif
|
||||
|
||||
_ktxHeaderData = _ktxHeaderRequest->getData();
|
||||
_ktxHighMipData = _ktxMipRequest->getData();
|
||||
|
|
Loading…
Reference in a new issue