xissburg / XBImageFilters

OpenGL ES 2-based image and real-time camera filters for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to create framebuffer

dehlen opened this issue · comments

I got the following output on my console:
2012-10-03 18:20:25.417 LiveCamera[7772:907] Failed to create framebuffer: 8cd6
2012-10-03 18:20:25.428 LiveCamera[7772:907] 1286

So there is something wrong, but i cant figure out how to solve this. I uploaded my project here: http://cl.ly/Jtae
Hopefully some can reproduce this and help me out how to fix this !

You have two problems:

  1. Your XBFilteredCameraView has zero width and height hence it fails to create the OpenGL frame buffer.
  2. You should not add subviews to the XBFilteredCameraView. Add them as siblings instead (as subview of the XBFilteredCameraView's superview).

HTH

Thanks for your answer. I already saw it and closed the issue by myself but thanks anyway for the quick support ! Keep up the good word.