mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 03:32:25 +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) {
|
||||
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..
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue