summaryrefslogtreecommitdiff
path: root/libs/hwui/AmbientShadow.cpp
diff options
context:
space:
mode:
author ztenghui <ztenghui@google.com> 2014-11-07 04:09:18 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-11-07 04:09:18 +0000
commit94745ccb3339f22307dec828bb5ff70f81d674dd (patch)
tree89f94fc5fcb8e8004e1f1de8c3fe07ef3e958ffd /libs/hwui/AmbientShadow.cpp
parent2297d226599b24f9681c00814d773046816562e9 (diff)
parent86f289fb505a8fef9e5aae822631a738540c31df (diff)
am 86f289fb: am 0b70c09c: am 7ae6fc81: Merge "A better looking and faster spot shadow." into lmp-mr1-dev
* commit '86f289fb505a8fef9e5aae822631a738540c31df': A better looking and faster spot shadow.
Diffstat (limited to 'libs/hwui/AmbientShadow.cpp')
-rw-r--r--libs/hwui/AmbientShadow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/AmbientShadow.cpp b/libs/hwui/AmbientShadow.cpp
index 278ed29f17a5..0fb9bc9a2cdb 100644
--- a/libs/hwui/AmbientShadow.cpp
+++ b/libs/hwui/AmbientShadow.cpp
@@ -327,9 +327,9 @@ void AmbientShadow::createAmbientShadow(bool isCasterOpaque,
shadowVertexBuffer.updateVertexCount(vertexBufferIndex);
shadowVertexBuffer.updateIndexCount(indexBufferIndex);
- ShadowTessellator::checkOverflow(vertexBufferIndex, totalVertexCount, "Vertex Buffer");
- ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Index Buffer");
- ShadowTessellator::checkOverflow(umbraIndex, totalUmbraCount, "Umbra Buffer");
+ ShadowTessellator::checkOverflow(vertexBufferIndex, totalVertexCount, "Ambient Vertex Buffer");
+ ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer");
+ ShadowTessellator::checkOverflow(umbraIndex, totalUmbraCount, "Ambient Umbra Buffer");
#if DEBUG_SHADOW
for (int i = 0; i < vertexBufferIndex; i++) {