Prevent deadlock when rapidly switching between openvr and desktop mode

This commit is contained in:
Anthony J. Thibault 2016-10-06 15:44:24 -07:00
parent aecf71a0d0
commit 3158439cba
2 changed files with 1 additions and 2 deletions
libraries
display-plugins/src/display-plugins/hmd
shared/src

View file

@ -124,7 +124,6 @@ void HmdDisplayPlugin::uncustomizeContext() {
batch.setFramebuffer(_compositeFramebuffer);
batch.clearColorFramebuffer(gpu::Framebuffer::BUFFER_COLOR0, vec4(0));
});
internalPresent();
_overlayRenderer = OverlayRenderer();
Parent::uncustomizeContext();
}

View file

@ -59,7 +59,7 @@ private:
QString _targetName;
bool _shouldOutputProcessID { false };
bool _shouldOutputThreadID { false };
bool _shouldOutputThreadID { true };
bool _shouldDisplayMilliseconds { false };
QSet<QString> _repeatedMessageRegexes;
QHash<QString, int> _repeatMessageCountHash;