From 03750a067e818ca7fbd0f590e2ff6a8fded21e6c Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 18 Oct 2010 14:06:08 -0700 Subject: Use VBOs to render most geometries. Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7 --- libs/hwui/PatchCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/PatchCache.cpp') 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; } -- cgit v1.2.3-59-g8ed1b