Fixed crash on exit.

This commit is contained in:
2016-12-09 00:17:38 +01:00
parent 57e941d44c
commit 68cfa664e3
2 changed files with 28 additions and 4 deletions
+4 -3
View File
@@ -47,10 +47,10 @@ private:
vr::VROverlayHandle_t m_ulOverlayHandle = vr::k_ulOverlayHandleInvalid;
vr::VROverlayHandle_t m_ulOverlayThumbnailHandle = vr::k_ulOverlayHandleInvalid;
std::unique_ptr<QQuickWindow> m_pWindow;
std::unique_ptr<QOpenGLContext> m_pOpenGLContext;
std::unique_ptr<QOpenGLFramebufferObject> m_pFbo;
std::unique_ptr<QQuickRenderControl> m_pRenderControl;
std::unique_ptr<QQuickWindow> m_pWindow;
std::unique_ptr<QOpenGLFramebufferObject> m_pFbo;
std::unique_ptr<QOpenGLContext> m_pOpenGLContext;
std::unique_ptr<QOffscreenSurface> m_pOffscreenSurface;
std::unique_ptr<QTimer> m_pPumpEventsTimer;
@@ -80,6 +80,7 @@ public:
virtual ~OverlayController();
void Init(QQmlEngine* qmlEngine);
void Shutdown();
bool isDashboardVisible() {
return dashboardVisible;