Fix StackScreen's draw
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
This commit is contained in:
parent
f091bbf0fd
commit
17aa7f6860
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ void ScreenStack::update(float dt) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenStack::draw() {
|
void ScreenStack::draw() {
|
||||||
for (auto idx = 0; idx < size.size() && stack.at(idx)->draw(); ++idx) {
|
for (decltype(stack.size()) idx = 0;
|
||||||
|
idx < stack.size() && stack.at(idx)->draw(); ++idx) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue