One thing to check is to make sure are loading your textures again when you come back. I use GLSurfaceView, so any EGL stuff is handled for me, but I know I have to load textures again in GLSurfaceView.Renderer#onSurfaceChanged, not GLSurfaceView.Renderer#onSurfaceCreated, which is called less often. Otherwise I get similar problems. That's sort of similar to your situation.
On May 24, 4:22 am, JoJo <[email protected]> wrote: > 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 !! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

