From 45fc7dfe871e25c913deb56063ca930dafe8b9ae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Sep 2013 21:46:17 +0300 Subject: fix compilation and partial running with SDL2 on Android. --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 671a8d578..debc28515 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1053,9 +1053,13 @@ void Game::handleInput() client->setState(STATE_EXIT); break; #ifdef ANDROID +#ifdef USE_SDL2 + // +++ probably need add support +#else case SDL_KEYBOARDSHOW: client->updateScreenKeyboard(event.user.code); break; +#endif #endif default: break; -- cgit v1.2.3-60-g2f50