Hi everyone,
I’m pretty new to OpenGL, and I’m making an iphone application where I need to save/load the screen contents; I’m saving with glReadPixels, and was hoping to use glDrawPixels to reload, but alas it doesn’t exist. From googling the problem it seems that I need to load the saved buffer into a texture, and then write the texture to the screen, but I’m sort of lost as to how I would do this, and I really need some sample code to wrap my head around it. Can anyone help me out?