Theodore Jump wrote:
> 
> >in varray.c there are functions with "GLAPI void GLAPIENTRY" declaration.
> 
> Eero, what's the error you get with "GLAPI void GLAPIENTRY" declarations?
> 

error C2491: 'glVertexPointer' : definition of dllimport function
 not allowed

If you get different results the reason might be that if
I remember correctly we may be using different calling
convention options, I use /Gd (__cdecl).
(I ended up with using this option because it made easier
to integrate the X86 assembly files)

I recommended using "just" void GLAPIENTRY because
it seems to be the decoration which is used
in all/most of the other api[1-x].c files.
I don't really claim understanding all this Windows
stuff...


                Eero


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to