chore: don't keep superfluous handle to rtDepth and rtColor

This commit is contained in:
Nick Fisher committed 2024-10-23 14:45:04 +08:00
1 parent bb303f98d2
commit 11f668e163
2 files changed
+16 -17

No files matched your search

@@ -160,18 +160,11 @@ namespace thermion_filament
const ResourceLoaderWrapperImpl *const _resourceLoaderWrapper;
void* _context = nullptr;
Scene *_scene = nullptr;
View *_view = nullptr;
View *_view = nullptr;
Engine *_engine = nullptr;
thermion_filament::ThreadPool *_tp = nullptr;
Renderer *_renderer = nullptr;
RenderTarget *_rt = nullptr;
Texture *_rtColor = nullptr;
Texture *_rtDepth = nullptr;
SwapChain *_swapChain = nullptr;
SceneManager *_sceneManager = nullptr;
std::mutex mtx; // mutex to ensure thread safety when removing assets