initialize various FilamentViewer pointers to nullptr

This commit is contained in:
Nick Fisher
2023-10-22 17:45:48 +11:00
parent 74cfe8d9a1
commit 1e6f9dcc9d

View File

@@ -127,17 +127,17 @@ namespace polyvox {
const ResourceLoaderWrapper* const _resourceLoaderWrapper; const ResourceLoaderWrapper* const _resourceLoaderWrapper;
Scene* _scene; Scene* _scene = nullptr;
View* _view; View* _view = nullptr;
Engine* _engine; Engine* _engine = nullptr;
// a default camera that we add to every scene // a default camera that we add to every scene
Camera* _mainCamera; Camera* _mainCamera = nullptr;
Renderer* _renderer; Renderer* _renderer = nullptr;
RenderTarget* _rt; RenderTarget* _rt = nullptr;
Texture* _rtColor; Texture* _rtColor = nullptr;
Texture* _rtDepth; Texture* _rtDepth = nullptr;
SwapChain* _swapChain = nullptr; SwapChain* _swapChain = nullptr;