mirror of https://github.com/auygun/kaliber.git
Consume input events on ContextLost
This commit is contained in:
parent
ba246eca7f
commit
f54835e5f3
|
@ -631,6 +631,8 @@ void Engine::ContextLost() {
|
||||||
|
|
||||||
if (game_)
|
if (game_)
|
||||||
game_->ContextLost();
|
game_->ContextLost();
|
||||||
|
|
||||||
|
input_queue_.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::SetStatsVisible(bool visible) {
|
void Engine::SetStatsVisible(bool visible) {
|
||||||
|
|
Loading…
Reference in New Issue