ANDROID: Refactor touch controls to be graphics backend agnostic

This commit is contained in:
Le Philousophe 2021-12-25 23:25:45 +01:00
parent 325c47f954
commit b6c0a1c6c8
5 changed files with 101 additions and 54 deletions

View file

@ -180,6 +180,9 @@ OSystem_Android::~OSystem_Android() {
delete _savefileManager;
_savefileManager = 0;
// Uninitialize surface now to avoid it to be done later when touch controls are destroyed
dynamic_cast<AndroidCommonGraphics *>(_graphicsManager)->deinitSurface();
}
void *OSystem_Android::timerThreadFunc(void *arg) {