Even if the maxzoom is very high, don't use more bits of precision than exist

This commit is contained in:
Eric Fischer 2016-02-03 16:51:44 -08:00
parent c1963dc645
commit e7f571c9c3

View File

@ -2259,6 +2259,9 @@ int main(int argc, char **argv) {
}
geometry_scale = 32 - (full_detail + maxzoom);
if (geometry_scale < 0) {
geometry_scale = 0;
}
if ((basezoom < 0 || droprate < 0) && (gamma < 0)) {
// Can't use randomized (as opposed to evenly distributed) dot dropping