quote:Original post by Enfekted
I''m a little confused about this datatype size thing being resolved with typedefs. Maybe someone could help me out.
say you wrote a program on platform A, whose int size is 32 bits. so you just used "int" instead of GLInt. now you want to compile your code on platform B, whose int size is 16 bits. BAM, you are screwed; you should have used GLInt, which would be typedef''ed to a 32-bit type on platform B.