Fix structure packing to fix polygon dropping

This commit is contained in:
Eric Fischer
2016-10-11 17:42:41 -07:00
parent 948ea138bb
commit 81d8fe21f8

View File

@ -3,7 +3,7 @@ struct index {
long long end; long long end;
unsigned long long index; unsigned long long index;
short segment; short segment;
short t : 2; unsigned short t : 2;
unsigned long long seq : (64 - 18); // pack with segment and t to stay in 32 bytes unsigned long long seq : (64 - 18); // pack with segment and t to stay in 32 bytes
}; };