David Dawes wrote:

What is the correct typedef for PFNGLXGETUSTPROC? glxclient.h has:

typedef int (* PFNGLXGETUSTPROC) ( int64_t * ust );

and it is used as a signed quantity in glxcmds.c.

But most drivers use uint64_t, and src/glx/mini/dri_util.h in the Mesa
trunk uses unsigned:

typedef int (* PFNGLXGETUSTPROC) ( uint64_t * ust );

That was my bad. It should be int64_t everywhere. It makes more sense for it to be unsigned, but the GLX_OML_sync_control spec has it as signed.


http://oss.sgi.com/projects/ogl-sample/registry/OML/glx_sync_control.txt

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to