summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderProperties.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-11-26 12:09:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-26 12:09:28 +0000
commit3c96a2b8fe4b52a8617e84c8aced43326d964f55 (patch)
treef3610b41eb7fc0f7edf8afb2f74a14cc71dba7c0 /libs/hwui/RenderProperties.h
parent6a2acff8c195b5b03ac022e7deb157cca06dadb6 (diff)
parent1fb141f83bad3884e2199c7acdc23932afaefe0c (diff)
am 1fb141f8: am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into lmp-mr1-dev
* commit '1fb141f83bad3884e2199c7acdc23932afaefe0c': Improve DisplayList state output
Diffstat (limited to 'libs/hwui/RenderProperties.h')
-rw-r--r--libs/hwui/RenderProperties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderProperties.h b/libs/hwui/RenderProperties.h
index 2b5b81160233..be43e608cb49 100644
--- a/libs/hwui/RenderProperties.h
+++ b/libs/hwui/RenderProperties.h
@@ -570,7 +570,7 @@ public:
}
bool hasShadow() const {
- return getZ() >= 0.0f
+ return getZ() > 0.0f
&& getOutline().getPath() != NULL
&& getOutline().getAlpha() != 0.0f;
}