Hi Thomas,

Interesting investigation and fix.  Does this issue occur on the
target hardware and software emulators of it?

Robert.

On Thu, Nov 4, 2010 at 5:56 AM, Thomas Hogarth
<thomas.hoga...@googlemail.com> wrote:
> Fixed it,
>
> So after a bit of thinking I realised that the default buffer must be re
> binded at some point so did another search and found 3 calls to
>
> fbo_ext->glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);
>
> And my earlier hunch was correct that ios' default buffer id is actually 1
> so changing to the below makes it work
>
> fbo_ext->glBindFramebuffer(GL_FRAMEBUFFER_EXT, 1);
>
> So now I need to add a DEFAULT_FRAMEBUFFER define or something in the
> FrameBufferObject header file that is set it to 1 on ios
>
> Over all though, good news. Performance seems great too.
>
> Tom
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to