mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
show warning on attempt to force 'VSYNC' preview reason
This commit is contained in:
parent
576ae227a8
commit
be3789e70a
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ QImage DesktopPreviewProvider::getPreviewDisabledImage(bool vsyncEnabled) const
|
||||||
|
|
||||||
void DesktopPreviewProvider::setPreviewDisabledReason(PreviewDisabledReasons reason) {
|
void DesktopPreviewProvider::setPreviewDisabledReason(PreviewDisabledReasons reason) {
|
||||||
if (reason == VSYNC) {
|
if (reason == VSYNC) {
|
||||||
|
qDebug() << "Preview disabled reason can't be forced to " << QMetaEnum::fromType<DesktopPreviewProvider::PreviewDisabledReasons>().valueToKey(reason);
|
||||||
return; // Not settable via this interface, as VSYNC is controlled by HMD plugin..
|
return; // Not settable via this interface, as VSYNC is controlled by HMD plugin..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue