mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-06 12:59:15 +00:00
Fix bug causing vector removal to skip elements
This commit is contained in:
@ -660,7 +660,6 @@ namespace GraphicalUserInterface
|
||||
delete this->OverlayBuffer, this->OverlayBuffer = nullptr;
|
||||
delete this->CursorBuffer, this->CursorBuffer = nullptr;
|
||||
Display->DeleteBuffer(200);
|
||||
for (size_t i = 0; i < this->Windows.size(); i++)
|
||||
this->Windows.remove(i);
|
||||
this->Windows.clear();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user