[core] don't assign clip IDs to tiles that aren't rendered

This commit is contained in:
Konstantin Käfer
2016-11-01 16:14:33 +01:00
parent 3b38cf48b7
commit bcdbbbcac2
9 changed files with 44 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ using namespace mbgl;
struct Renderable {
ClipID clip;
bool used = true;
bool operator==(const Renderable& rhs) const {
return clip == rhs.clip;