mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 03:42:48 +01: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();
|
||||
}
|
||||
|
||||
window.close();
|
||||
|
||||
StateManager::get().clear();
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user