Init texture to nullptr
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -48,4 +48,4 @@ namespace OpenVulkano
|
||||
UniformBuffer& GetBuffer() { return m_intrinsicsBuffer; }
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user