1
0
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:
Anonymous Maarten 2017-09-13 06:27:45 +02:00 committed by Daniel Evans
parent 8175666092
commit fa36c56813

View File

@ -455,6 +455,8 @@ int RWGame::run() {
StateManager::get().updateStack();
}
window.close();
StateManager::get().clear();
return 0;