Hi J.P,

On Wed, Oct 7, 2009 at 7:59 AM, J.P. Delport <[email protected]> wrote:
> Debug build still did not provide a nice backtrace, but I've followed the
> crash to
>
> void TextureRectangle::applyTexImage_subload in TextureRectangle.cpp
>
> At the line:
>
> dataPtr = reinterpret_cast<unsigned
> char*>(pbo->getOffset(image->getBufferIndex()));
>
> dataPtr gets assigned 0 and then the glTexSubImage2D call generates the
> segfault.

It's normal for pbo->getOffset() to return a 0, and correct to pass
this to glTexSubImage2D, but only if a PBO is bound, if it isn't then
it will result in a seg fault.  Perhaps there is some mistake in the
code that isn't binding the PBO when it should.

Do you get a crash if you use the --texture2D on the osgmovie command line?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to