views:

58

answers:

0

I am taking picture from camera with zooming it and then assign UImage to EAGLview. Add EAGLview as subview on UIImageview. first it shows the image properly but when again i take picture and load it, it shows only green color on screen. Sometimes get errors:

  1. AVCapture: no preview image available; creating one manually instead
  2. Couldn't create data provider with incoming JPEG data 0x0.

I am learning OpenGL. I have no idea why it is happening. Please help.