Convert m_pRenderControl from smart pointer to object

Having it be a pointer was an unnecessary complication with no gain.
This commit is contained in:
Vasily
2019-11-30 18:14:49 +01:00
committed by username223
parent a237168ef7
commit 2b9b3d653a
2 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ private:
vr::VROverlayHandle_t m_ulOverlayThumbnailHandle
= vr::k_ulOverlayHandleInvalid;
std::unique_ptr<QQuickRenderControl> m_pRenderControl;
QQuickRenderControl m_renderControl;
std::unique_ptr<QQuickWindow> m_pWindow;
std::unique_ptr<QOpenGLFramebufferObject> m_pFbo;
std::unique_ptr<QOpenGLContext> m_pOpenGLContext;