forked from Dynamitos/Seele
Fixing destruction
This commit is contained in:
1 parent
67c4ce2f7a
commit
3b6eb3ebcc
31 files changed
+173
-82
No files matched your search
@@ -11,7 +11,7 @@ class WindowManager {
|
||||
OWindow addWindow(Gfx::PGraphics graphics, const WindowCreateInfo& createInfo);
|
||||
void render();
|
||||
void notifyWindowClosed(PWindow window);
|
||||
bool isActive() const { return windows.size(); }
|
||||
bool isActive() const { return getGlobals().running && windows.size(); }
|
||||
|
||||
private:
|
||||
Array<PWindow> windows;
|
||||
|
||||
Reference in new issue
Block a user