summaryrefslogtreecommitdiff
path: root/libs/hwui/FontRenderer.cpp
diff options
context:
space:
mode:
author ztenghui <ztenghui@google.com> 2014-02-14 13:13:41 -0800
committer ztenghui <ztenghui@google.com> 2014-02-25 14:18:25 -0800
commit63d41abb40b3ce40d8b9bccb1cf186e8158a3687 (patch)
tree53ef1d5d691afa904e390e211f6adde28fb5f4ae /libs/hwui/FontRenderer.cpp
parentef94c6f88fbb1deb095b1494378befcdb9722839 (diff)
Use pre-computed index to draw the shadow.
Also draw the umbra part as triangle fans instead of zig zag fashion. b/12840179 Change-Id: Iaa5d15e77351acdd71f076bd8f9bb2d4d2b92faf
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r--libs/hwui/FontRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp
index b79a3b0898b4..b52003c0a51b 100644
--- a/libs/hwui/FontRenderer.cpp
+++ b/libs/hwui/FontRenderer.cpp
@@ -498,7 +498,7 @@ void FontRenderer::issueDrawCommand(Vector<CacheTexture*>& cacheTextures) {
}
checkTextureUpdate();
- caches.bindIndicesBuffer();
+ caches.bindQuadIndicesBuffer();
if (!mDrawn) {
// If returns true, a VBO was bound and we must