摘要: http://www.bit-101.com/blog/?p=1861 C: -(UIImage *) glToUIImage { NSInteger myDataLength = 320 * 480 * 4; // allocate array and read pixels into it. GLubyte *buffer = (GLubyte *) malloc(myDataLength);... 阅读全文