Is it possible to restore a previous GL framebuffer?

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-02-24T07:20:48Z Indexed on 2010/05/16 5:10 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

Hi there,

I'm working on an iPhone app that lets the user draw using GL. I used the GLPaint sample code project as a firm foundation, but now I want to add the ability for the user to load one of their previous drawings and continue working on it.

I know how to get the framebuffer contents and save it as a UIImage. Is there a way for me to take the UIImage and tell GL to draw that?

Any help is much appreciated.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about opengl