Why is eglMakeCurrent() failing with EGL_BAD_MATCH?

后端 未结 2 1762
旧时难觅i
旧时难觅i 2021-01-01 13:52

I am developing for Android using opengl/egl. My app requires a second context for loading textures from a second thread.

My code works fine on android 2.3, but when

2条回答
  •  情书的邮戳
    2021-01-01 14:37

    If your getting this error but not dealing with this surface or texture stuff, go to run and type .android go to AVD and your current Emulator delete the user-date file usually on .img file, restart your emulator then test. This works for me, if it happens on while testing on your device, clear the data and restart your app. Cheers for those who find this helpful.

提交回复
热议问题