Init texture to nullptr

This commit is contained in:
Georg Hagen
2024-07-09 12:37:02 +02:00
parent d9a22236b4
commit bb38748971

View File

@@ -28,7 +28,7 @@ namespace OpenVulkano
UniformBuffer m_intrinsicsBuffer;
Ptr<AR::ArSession> m_arSession;
Ptr<AR::ArFrame> m_nextFrame, m_currentFrame, m_lastFrame;
const Texture* m_texture;
const Texture* m_texture = nullptr;
void OnNewArFrame(const Ptr<AR::ArFrame>& frame);