HI Matrin & Wang Rui

On Thu, Mar 18, 2010 at 3:15 AM, Wang Rui <[email protected]> wrote:
> Hi Martins,
>
> I have no experience in Mac. But it seems that type definition of
> GLint changes to some other types in your system. In most other cases,
> we have:
>
> typedef int GLint;
>
> in the gl.h header. And an ADD_INT_SERIALIZER is workable with it.
>
> Maybe we should have more tests on 64bit systems and try to find out
> if an independent ADD_GLINT_SERIALIZER was required to keep compatible
> on different platforms.

An ADD_GLINT_SERIALIZER may well be required.  We'd need to
static_cast the GLint to int for portability of the data format.

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

Reply via email to