Loading libs/hwui/TextDropShadowCache.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -74,10 +74,10 @@ void TextDropShadowCache::setMaxSize(uint32_t maxSize) { /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) { void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) { if (texture) { const uint32_t size = texture->width * texture->height; const uint32_t size = texture->width * texture->height; mSize -= size; mSize -= size; if (texture) { glDeleteTextures(1, &texture->id); glDeleteTextures(1, &texture->id); delete texture; delete texture; } } Loading Loading
libs/hwui/TextDropShadowCache.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -74,10 +74,10 @@ void TextDropShadowCache::setMaxSize(uint32_t maxSize) { /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) { void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) { if (texture) { const uint32_t size = texture->width * texture->height; const uint32_t size = texture->width * texture->height; mSize -= size; mSize -= size; if (texture) { glDeleteTextures(1, &texture->id); glDeleteTextures(1, &texture->id); delete texture; delete texture; } } Loading