summaryrefslogtreecommitdiff
path: root/libs/hwui/PatchCache.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-18 14:06:08 -0700
committer Romain Guy <romainguy@google.com> 2010-10-18 14:49:19 -0700
commit03750a067e818ca7fbd0f590e2ff6a8fded21e6c (patch)
treee41ffdc1b72f66c13284df27877703111f048170 /libs/hwui/PatchCache.cpp
parent65202242defad10eb33a3b3277af49eb238a3f33 (diff)
Use VBOs to render most geometries.
Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
Diffstat (limited to 'libs/hwui/PatchCache.cpp')
-rw-r--r--libs/hwui/PatchCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/PatchCache.cpp b/libs/hwui/PatchCache.cpp
index 0fad628f1539..71bab91bfa8e 100644
--- a/libs/hwui/PatchCache.cpp
+++ b/libs/hwui/PatchCache.cpp
@@ -68,7 +68,7 @@ Patch* PatchCache::get(const float bitmapWidth, const float bitmapHeight,
}
// If the 9patch is made of only transparent quads
- if (transparentQuads == (width + 1) * (height + 1)) {
+ if (transparentQuads == int8_t((width + 1) * (height + 1))) {
return NULL;
}