Wait for initialization when adding assets at runtime. Correctly destroy the RenderableGalaxy shader when deinitializing (closes #1601)

This commit is contained in:
Alexander Bock
2022-02-22 23:24:37 +01:00
parent 73f6938619
commit 78fd5b78da
4 changed files with 18 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ public:
void enqueue(std::function<void()> f);
void clearTasks();
bool hasOutstandingTasks() const;
private:
friend class Worker;