|
Hi
Make a list from that what you have initiallized.
first, release your scene from drawing
e.g. glMyDrawable.removeGLEventListener(MySceneRenderer);
then release your scene resources
e.g lists with : gl.glDeleteLists(glName,0);
e.g. buffers with : gl.glDeleteBuffers(vboIds.length, vboIds, 0);
e.g textures with : gl.glDeleteTextures( myTextures.length, myTextures, 0 );
then in an separate thread if you want,
- stop the animator and
- release all your Listener
If you has worked in fullscreen mode, set back the screen
to the old mode.
That must work
or you driver has a problem:-)
|