-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Jolley wrote:
> Hi Jan,
...
> I have only seen unsigned int as 32 bits on 64 bit systems.  What is the 
> typedef
> for GLuint on x86_64?  Can you print out sizeof(unsigned int) on an x86_64
> system?

sizeof(unsigned int)=4 on x86_64 AMD Opteron(tm) Processor 254

> If unsigned int is not 32 bits then several loaders are going to have 
> problems.

This is perhaps not the issue in the end. However I have noticed that he
is having a problem converting from GLuint* to unsigned int*. This is
strange, because on x86_64 GLuint is defined like this (Nvidia's drivers):

typedef unsigned int GLuint;

I wonder:

a) How Mac defines this (I do not have one handy, unfortunately)
b) Are the pointer sizes different? On x86_64 they aren't.

I have mentioned the 64bit vs. 32bit issue because I have seen a cast
from void* to GLuint fail due to different size (void* is 64bit on a
64bit machine) with the same message - a different issue, indeed.


Regards,

Jan


- --

Jan Ciger
GPG public key: http://www.keyserver.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFElscan11XseNj94gRAmfBAJ9y+XN/3M0V2JLE0mKKUrSWJKwWhgCdFn+l
1Lc8aFJK+UAJBWgE80rQteQ=
=7oe+
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to