Losing OpenGL Textures in Android after a resume

My game is working correctly except in the case where I press the HOME button then resume. What needs to be done to use the textures again? I have tried calling onPause and onResume on the GLSurfaceView (when the activity's onPause and onResume are called).

Any ideas what I could be doing wrong?

7
задан genpfault 11 May 2011 в 15:18
поделиться