mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 15:02:34 +02:00
rwgame: close window explicitly at end of event loop to free GL Context
This commit is contained in:
parent
8175666092
commit
fa36c56813
@ -455,6 +455,8 @@ int RWGame::run() {
|
|||||||
StateManager::get().updateStack();
|
StateManager::get().updateStack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.close();
|
||||||
|
|
||||||
StateManager::get().clear();
|
StateManager::get().clear();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user