Pack structures tighter to use a little less memory

This commit is contained in:
Eric Fischer
2016-05-11 14:23:39 -07:00
parent cc4a2736ea
commit c0edefa721
4 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -767,7 +767,7 @@ drawvec simple_clip_poly(drawvec &geom, long long minx, long long miny, long lon
}
drawvec simple_clip_poly(drawvec &geom, int z, int detail, int buffer) {
long long area = area = 1LL << (32 - z);
long long area = 1LL << (32 - z);
long long clip_buffer = buffer * area / 256;
return simple_clip_poly(geom, -clip_buffer, -clip_buffer, area + clip_buffer, area + clip_buffer);