suxinde2009 / isgl3d

Automatically exported from code.google.com/p/isgl3d
Other
0 stars 0 forks source link

How to completely shutdown Isgl3dEAGLView (clearing all context) #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have a iSgl3dView (i.e SkinningTestView)
2. call:     
    [[Isgl3dDirector sharedInstance] run];
    [[Isgl3dDirector sharedInstance] end];

    [[Isgl3dDirector sharedInstance] run];
3. See how the view is black

As I understand sending message "end" should restore state of Isgl3dDirector 
and related EAGLViews (I am removing from it's superview though).

If I am doing something wrong, could someone please point me in the right 
direction on how to achieve correct behavior?

If someone has an example similar to the one in cocos2d for detaching and 
attaching / stopping and running the CCDirector but for isgl3d I would really 
appreciate it. 

Original issue reported on code.google.com by a...@ciencias.unam.mx on 6 Nov 2011 at 7:03