Switch between OpenGL and Non-OpenGL Views
Hi,
I am new into the iPhone Application Development.
In my application, I need to switch between an OpenGL and Non-OpenGL views frequently.
So, I have put a button on the OpenGL View and added a function to move to the second view.
In the second view, I have one more button with which I return to the first (OpenGL) view.
When this switch happens, the drawing on the OpenGL gets lost..
I verified that the DrawView function gets called correctly but it does not draw the view.
Can somebody tell me a possible problem and the solution for this..??
Thanks,
Dipen
Last edited by dipenvasoya; 03-07-2010 at 04:41 AM.
Reason: Missed to add complete information
|