summaryrefslogtreecommitdiff
path: root/libs/hwui/AmbientShadow.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-12-10 15:23:54 -0800
committer Chris Craik <ccraik@google.com> 2014-12-10 15:23:54 -0800
commit5369b76963a344d08fda4532227a6f0da28fd23a (patch)
tree9cc8519749be8ddff2f0f1d4c4fe7a1457c80fcd /libs/hwui/AmbientShadow.cpp
parent16d73a752e9ee937c39be4ce2da5411cf1af0c5c (diff)
parented211b940b24231d02c4e6e2757ee02ff1b9ea79 (diff)
resolve merge conflicts of ed211b9 to lmp-mr1-dev-plus-aosp.
Change-Id: Ib9d6d301282bbaae6b23b9ce07b9e6a4e9075991
Diffstat (limited to 'libs/hwui/AmbientShadow.cpp')
-rw-r--r--libs/hwui/AmbientShadow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/AmbientShadow.cpp b/libs/hwui/AmbientShadow.cpp
index 13de0a644f66..5840107027d5 100644
--- a/libs/hwui/AmbientShadow.cpp
+++ b/libs/hwui/AmbientShadow.cpp
@@ -325,6 +325,7 @@ void AmbientShadow::createAmbientShadow(bool isCasterOpaque,
// At the end, update the real index and vertex buffer size.
shadowVertexBuffer.updateVertexCount(vertexBufferIndex);
shadowVertexBuffer.updateIndexCount(indexBufferIndex);
+ shadowVertexBuffer.computeBounds<AlphaVertex>();
ShadowTessellator::checkOverflow(vertexBufferIndex, totalVertexCount, "Ambient Vertex Buffer");
ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer");