One may force the structure to be packed by using #pragma pack or the
pack attribute. See http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html
for details. Of course, one may pay a performance penalty by doing
so, or outright crash (Altivec / SSE have a strong 16 bytes alignment
requirement, for example).
On May 12, 2008, at 10:36, Nicolas Goy, Kuon wrote:
First element. But then, nothing guarantee that the second element
will follow the first without padding.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden