Close either window now
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m41s

This commit is contained in:
2024-12-17 15:16:27 -05:00
parent a68ced6874
commit dd4b7b7d29

View File

@@ -193,7 +193,7 @@ int main() {
window->r = 0;
bool swap;
while (!windowdos->IsClosing()) {
while (!windowdos->IsClosing() && !window->IsClosing()) {
window->r += 0.01;
if (window->r >= 1 && !swap) {
window->g += 0.01;