[core] do not call glStencilFunc when we're not clipping

This commit is contained in:
Konstantin Käfer
2016-03-15 17:43:13 +01:00
parent 3a36079ccc
commit e7ac0f6d4c
14 changed files with 35 additions and 6 deletions

View File

@@ -31,6 +31,10 @@ bool CircleBucket::hasData() const {
return !triangleGroups_.empty();
}
bool CircleBucket::needsClipping() const {
return true;
}
void CircleBucket::addGeometry(const GeometryCollection& geometryCollection) {
for (auto& circle : geometryCollection) {
for(auto & geometry : circle) {