-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Milestone
Description
Running the HelloWorld example on an Android API 28 device and getting this assertion failure:
Assertion failure at SDL_AddTouch (/Users/brenton/development/github/SDL/src/events/SDL_touch.c:170), triggered 1 time:
'touchID != 0'

the stack trace is:
SDL_AddTouch SDL_touch.c:172
Java_org_libsdl_app_SDLActivity_nativeAddTouch SDL_android.c:1083
Android_JNI_InitTouch SDL_android.c:2070
Android_InitTouch SDL_androidtouch.c:43
Android_VideoInit SDL_androidvideo.c:189
SDL_VideoInit SDL_video.c:705
SDL_InitSubSystem SDL.c:357
SDL_Init SDL.c:534
SDL_AppInit main.c:62
SDL_InitMainCallbacks SDL_main_callbacks.c:104
SDL_EnterAppMainCallbacks SDL_sysmain_callbacks.c:56
SDL_main SDL_main_impl.h:59
Java_org_libsdl_app_SDLActivity_nativeRunMain SDL_android.c:858
happens with API 28, but not API 29 or above
EDIT:
the original comment had this incorrect stack trace:
SDL_AddTouch SDL_touch.c:170
SDL_MouseTouchEventsChanged SDL_mouse.c:177
SDL_AddHintCallback SDL_hints.c:366
SDL_PreInitMouse SDL_mouse.c:288
SDL_VideoInit SDL_video.c:633
SDL_InitSubSystem SDL.c:357
SDL_Init SDL.c:534
SDL_main(int, char **) main.cpp:93
Java_org_libsdl_app_SDLActivity_nativeRunMain SDL_android.c:870