Close either window now
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m41s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m41s
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -193,7 +193,7 @@ int main() {
|
|||||||
window->r = 0;
|
window->r = 0;
|
||||||
|
|
||||||
bool swap;
|
bool swap;
|
||||||
while (!windowdos->IsClosing()) {
|
while (!windowdos->IsClosing() && !window->IsClosing()) {
|
||||||
window->r += 0.01;
|
window->r += 0.01;
|
||||||
if (window->r >= 1 && !swap) {
|
if (window->r >= 1 && !swap) {
|
||||||
window->g += 0.01;
|
window->g += 0.01;
|
||||||
|
Reference in New Issue
Block a user