mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 23:27:34 +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);
|
glBindVertexArray(0);
|
||||||
glDeleteVertexArrays(1, &_vao);
|
glDeleteVertexArrays(1, &_vao);
|
||||||
_canvas->doneCurrent();
|
_canvas->doneCurrent();
|
||||||
|
_canvas->moveToThread(_plugin.thread());
|
||||||
}
|
}
|
||||||
|
|
||||||
void update(const CompositeInfo& newCompositeInfo) { _queue.push(newCompositeInfo); }
|
void update(const CompositeInfo& newCompositeInfo) { _queue.push(newCompositeInfo); }
|
||||||
|
@ -485,6 +486,7 @@ bool OpenVrDisplayPlugin::internalActivate() {
|
||||||
_submitCanvas->doneCurrent();
|
_submitCanvas->doneCurrent();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
_submitCanvas->moveToThread(_submitThread.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
return Parent::internalActivate();
|
return Parent::internalActivate();
|
||||||
|
|
Loading…
Reference in a new issue