Merge pull request #14534 from SamGondelman/vive

Case 20138: Fix vive crash
This commit is contained in:
John Conklin II 2018-12-06 14:28:24 -08:00 committed by GitHub
commit bbc8e4de70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -319,6 +319,7 @@ public:
glBindVertexArray(0);
glDeleteVertexArrays(1, &_vao);
_canvas->doneCurrent();
_canvas->moveToThread(_plugin.thread());
}
void update(const CompositeInfo& newCompositeInfo) { _queue.push(newCompositeInfo); }
@ -485,6 +486,7 @@ bool OpenVrDisplayPlugin::internalActivate() {
_submitCanvas->doneCurrent();
});
}
_submitCanvas->moveToThread(_submitThread.get());
}
return Parent::internalActivate();