Hi J-S,

On Mon, Dec 1, 2008 at 5:46 PM, Jean-Sébastien Guay
<[EMAIL PROTECTED]> wrote:
> Looking closer at the BufferObject header, I see there's a
> GL_ARRAY_BUFFER_ARB define, but not GL_ARRAY_BUFFER. Furthermore, the values
> are the same between what BufferObject defines for GL_ARRAY_BUFFER_ARB and
> what I have in my glext.h for GL_ARRAY_BUFFER. Should we just use
> GL_ARRAY_BUFFER_ARB in the PixelDataBufferObject constructor?
>
> Using that, the osg lib compiles correctly, and the osgparametric example
> builds correctly too. Is this an appropriate fix?

Using GL_ARRAY_BUFFER_ARB in the constructor would be a perfectly
reasonable fix.

Perhaps ideally we'd have the OSG create defines for the
GL_ARRAY_BUFFER rather than GL_ARRAY_BUFFER_ARB, but before we make a
decision on it your suggestion of the change is the appropriate one.

The server is currently unresponsive so I can't check in any fixes right now.

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

Reply via email to