rive-app / rive-android

A runtime for interactive animations on Android
https://rive.app
MIT License
350 stars 31 forks source link

Errors logged on older device apis' #195

Open mjtalbot opened 2 years ago

mjtalbot commented 2 years ago

When backing out of activities with the rive view on android API 22 we get this error logged. it does not cause a crash however.

2021-11-25 14:53:57.559 8746-8802/app.rive.runtime.example E/EGL_emulation: tid 8802: eglMakeCurrent(1483): error 0x3009 (EGL_BAD_MATCH)
2021-11-25 14:53:57.559 8746-8802/app.rive.runtime.example E/libEGL: eglMakeCurrent:777 error 3009 (EGL_BAD_MATCH)
2021-11-25 14:53:57.571 8746-8803/app.rive.runtime.example E/EGL_emulation: tid 8803: eglMakeCurrent(1483): error 0x3009 (EGL_BAD_MATCH)
2021-11-25 14:53:57.571 8746-8803/app.rive.runtime.example E/libEGL: eglMakeCurrent:777 error 3009 (EGL_BAD_MATCH)

seems to happen when we set makeCurrent(EGL_NO_SURFACE);

craftedcodes commented 6 months ago

I have this issue too with API 33 and 34. Has anyone found a solution?