commit | 03750a067e818ca7fbd0f590e2ff6a8fded21e6c | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Oct 18 14:06:08 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Oct 18 14:49:19 2010 -0700 |
tree | e41ffdc1b72f66c13284df27877703111f048170 | |
parent | 65202242defad10eb33a3b3277af49eb238a3f33 [diff] [blame] |
Use VBOs to render most geometries. Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
diff --git a/libs/hwui/PatchCache.cpp b/libs/hwui/PatchCache.cpp index 0fad628..71bab91 100644 --- a/libs/hwui/PatchCache.cpp +++ b/libs/hwui/PatchCache.cpp
@@ -68,7 +68,7 @@ } // 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; }