From c93e45cf045f41aea95f856173e4043d988a5a5c Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 16 Jul 2014 10:15:56 -0700 Subject: Build layer damage bounds for shadows bug:15538815 Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d --- libs/hwui/SpotShadow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/SpotShadow.cpp') diff --git a/libs/hwui/SpotShadow.cpp b/libs/hwui/SpotShadow.cpp index 06f6204e85fb..82dbe7a1485a 100644 --- a/libs/hwui/SpotShadow.cpp +++ b/libs/hwui/SpotShadow.cpp @@ -508,6 +508,7 @@ void SpotShadow::createSpotShadow(bool isCasterOpaque, const Vector3* poly, computeSpotShadow(isCasterOpaque, light, lightVertexCount, lightCenter, poly, polyLength, retStrips); retStrips.setMode(VertexBuffer::kTwoPolyRingShadow); + retStrips.computeBounds(); } /** -- cgit v1.2.3-59-g8ed1b