Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 60 files). Show all
Unified · Split
| @@ -30,6 +30,8 @@ const int GeometryCache::UNKNOWN_ID = -1; · 29 unmodified lines | ||
| 30 | 30 | GeometryCache::GeometryCache() : |
| 31 | 31 | _nextID(0) |
| 32 | 32 | { |
| 33 | + const qint64 GEOMETRY_DEFAULT_UNUSED_MAX_SIZE = DEFAULT_UNUSED_MAX_SIZE; | |
| 34 | + setUnusedResourceCacheSize(GEOMETRY_DEFAULT_UNUSED_MAX_SIZE); | |
| 33 | 35 | } |
| 34 | 36 | |
| 35 | 37 | GeometryCache::~GeometryCache() { |