Code example for GL10

Methods: glPixelStorei, glReadPixels