Fix raster masking bug (#2798)

This commit is contained in:
Tim Sylvester
2024-09-03 11:47:08 -07:00
committed by GitHub
parent bf40cdf5f7
commit b90b2df920
2 changed files with 4 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ public:
static_assert(sizeof...(args) % groupSize == 0, "wrong buffer element count");
assert(!released);
util::ignore({(v.emplace_back(std::forward<Args>(args)), 0)...});
dirty = true;
}
};

View File

@@ -113,6 +113,9 @@ void RasterBucket::setMask(TileMask&& mask_) {
segment.vertexLength += vertexLength;
segment.indexLength += 6;
}
vertices.updateModified();
indices.updateModified();
}
bool RasterBucket::hasData() const {