After closer analysis I noticed that the bug was in my code and has nothing to do with the question.
GLSurfaceView OnToucListener only works when drawing
-
16-07-2023 - |
문제
I'm using an OnTouchListener
on a GLSurfaceView
, but it appears that it only works while drawing.
So, if it takes too much time to draw the frame, I'll get most of the touch events handled, but if the frame is being drawn in less than 16ms, I've no chance to handle the events.
I'm using Android 4.3 to compile the app.
해결책
제휴하지 않습니다 StackOverflow