summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Patch.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-12-07 13:30:10 -0800
committerRomain Guy <romainguy@google.com>2010-12-07 13:30:10 -0800
commit8ab4079ca27e36e5c584495bcd71b573598ac021 (patch)
tree80b5dca2e6ad9cf75a7215109575a9c2d927b278 /libs/hwui/Patch.h
parent3a3fa1be9ab8e11edc660ecb35ae21ae0b5c8cc2 (diff)
downloadframeworks_base-8ab4079ca27e36e5c584495bcd71b573598ac021.zip
frameworks_base-8ab4079ca27e36e5c584495bcd71b573598ac021.tar.gz
frameworks_base-8ab4079ca27e36e5c584495bcd71b573598ac021.tar.bz2
Fix 9patch rendering
Bug #3253396 Some quads were incorrectly assumed to be degenerate. Change-Id: I9155699edc3424afe9d5a131886bb9966d46b109
Diffstat (limited to 'libs/hwui/Patch.h')
-rw-r--r--libs/hwui/Patch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/Patch.h b/libs/hwui/Patch.h
index 16ad86d..0f0ffa2 100644
--- a/libs/hwui/Patch.h
+++ b/libs/hwui/Patch.h
@@ -52,9 +52,7 @@ struct Patch {
GLuint meshBuffer;
uint32_t verticesCount;
bool hasEmptyQuads;
-#if RENDER_LAYERS_AS_REGIONS
Vector<Rect> quads;
-#endif
private:
TextureVertex* mVertices;