summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-11-14 16:11:10 -0800
committerChris Craik <ccraik@google.com>2013-02-12 17:45:28 -0800
commit3f76e65d251ead65fe8ff98e3bd4c7623fbaac07 (patch)
treeb8dfc636012f670aba6a348340ae12770ab63372 /libs/hwui/TextDropShadowCache.cpp
parentd04892d207d50378356feef181ac4e4eff9652d7 (diff)
Use RenderScript for large text blurs
Still fall back to simple path for small tasks Change-Id: I492f1b3f7d6fec1738f3e45cbfb15864bd23a392
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
-rw-r--r--libs/hwui/TextDropShadowCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextDropShadowCache.cpp b/libs/hwui/TextDropShadowCache.cpp
index 9c7a5ab3d077..db7bd489b404 100644
--- a/libs/hwui/TextDropShadowCache.cpp
+++ b/libs/hwui/TextDropShadowCache.cpp
@@ -222,7 +222,7 @@ ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32
}
// Cleanup shadow
- delete[] shadow.image;
+ delete shadow.image;
}
return texture;