diff options
Diffstat (limited to 'libs/hwui/DisplayList.cpp')
-rw-r--r-- | libs/hwui/DisplayList.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/DisplayList.cpp b/libs/hwui/DisplayList.cpp index e38b532c0565..6461ee71919e 100644 --- a/libs/hwui/DisplayList.cpp +++ b/libs/hwui/DisplayList.cpp @@ -31,7 +31,6 @@ namespace uirenderer { DisplayListData::DisplayListData() : projectionReceiveIndex(-1) - , functorCount(0) , hasDrawOps(false) { } @@ -41,7 +40,7 @@ DisplayListData::~DisplayListData() { void DisplayListData::cleanupResources() { Caches& caches = Caches::getInstance(); - caches.unregisterFunctors(functorCount); + caches.unregisterFunctors(functors.size()); caches.resourceCache.lock(); for (size_t i = 0; i < bitmapResources.size(); i++) { |