mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-06-11 20:11:40 +00:00
Fix structure packing to fix polygon dropping
This commit is contained in:
2
main.hpp
2
main.hpp
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user