minor adjustments to render threads

This commit is contained in:
itsmattkc
2019-08-29 18:53:06 +10:00
parent 27effb9473
commit b81d0598b3
7 changed files with 74 additions and 59 deletions
+4
View File
@@ -43,6 +43,10 @@ void RenderInstance::SetShareContext(QOpenGLContext *share)
bool RenderInstance::Start()
{
if (IsStarted()) {
return true;
}
// If we're sharing resources, set this up now
if (share_ctx_ != nullptr) {
ctx_.setShareContext(share_ctx_);