update macOS

This commit is contained in:
Nick Fisher
2023-10-26 11:12:31 +08:00
parent 8b9e6a2b3a
commit cf25d8f0d7
9 changed files with 32 additions and 26 deletions

View File

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