App won't crash (and will continue to work) when keyboard is opened/closed or orientation changes (at last!)

This commit is contained in:
pelya
2010-08-31 16:02:26 +03:00
parent 79911b77c3
commit 5373a8e9cd
3 changed files with 5 additions and 21 deletions

View File

@@ -159,7 +159,6 @@ class DemoGLSurfaceView extends GLSurfaceView_SDL {
public boolean onTouchEvent(final MotionEvent event)
{
touchInput.process(event);
// TODO: add multitouch support (added in Android 2.0 SDK)
// Wait a bit, and try to synchronize to app framerate, or event thread will eat all CPU and we'll lose FPS
synchronized (mRenderer) {
try {