mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 02:12:53 +02:00
Merge pull request #14534 from SamGondelman/vive
Case 20138: Fix vive crash
This commit is contained in:
commit
bbc8e4de70
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue