mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
23f6dcb868
Since onFrameCallback runs on the app UI thread, using plain invalidate() can be used instead of postInvalidate(). The latter just schedules a call to invalidate() on the UI thread. Also, since onFrameCallback is directly called by JNI, there is no need to set up a new JNI environment to call back into Java. Signed-off-by: Felix Lange <fjl@twurst.com>