rhi: d3d: Change a warning to categorized logging
It is not that important to warn about the DXGI factory being stale when a screen gets connected or disconnected. It is not an error, and happens every time if a screen gets added or removed while the application is running. Pick-to: 6.8 Change-Id: I414668dc7aa0279f63fc79799ea53101065ab013 Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 619ea080364cce9a4b390e75796809f454b80dd3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 52a1447842637db36238a9cc695e59ddf6f79766)
This commit is contained in:
parent
92f098e83f
commit
87794df973
@ -159,7 +159,7 @@ void QDxgiVSyncService::beginFrame(LUID)
|
|||||||
// else, then start from scratch.
|
// else, then start from scratch.
|
||||||
|
|
||||||
if (dxgiFactory && !dxgiFactory->IsCurrent()) {
|
if (dxgiFactory && !dxgiFactory->IsCurrent()) {
|
||||||
qWarning("QDxgiVSyncService: DXGI Factory is no longer Current");
|
qCDebug(lcQpaScreenUpdates, "QDxgiVSyncService: DXGI Factory is no longer Current");
|
||||||
QVarLengthArray<LUID, 8> luids;
|
QVarLengthArray<LUID, 8> luids;
|
||||||
for (auto it = adapters.begin(), end = adapters.end(); it != end; ++it)
|
for (auto it = adapters.begin(), end = adapters.end(); it != end; ++it)
|
||||||
luids.append(it->luid);
|
luids.append(it->luid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user