EGL initialized failed

Posted by aquatear on Stack Overflow See other posts from Stack Overflow or by aquatear
Published on 2010-05-21T10:51:54Z Indexed on 2010/05/21 11:00 UTC
Read the original article Hit count: 207

Filed under:
|
|

Hello Everybody,

I used a SurfaceView and EGL to render my 3D contents. When I press BACK and return my activity, the activity's 3D objects become to white.

The reason is when the original activity(3D activity) resume, EGL would initialize again. So EGL would initialize and destroy everytime when different activities switch. I am not sure if the problem is EGL initialize twice... but I did initialize and destroy EGL correctly.

Anybody have this problem ? Have any solutions about this ??

Thank you so much

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk