Yet another fix for 9patch rendering.
Bug #3362133
Change-Id: Ia6521d31a8c208a2ad2506a23b6a01e5e442ad86
diff --git a/libs/hwui/Patch.h b/libs/hwui/Patch.h
index 45ce998..4de0c76 100644
--- a/libs/hwui/Patch.h
+++ b/libs/hwui/Patch.h
@@ -70,11 +70,11 @@
void generateRow(TextureVertex*& vertex, float y1, float y2,
float v1, float v2, float stretchX, float width, float bitmapWidth,
- uint32_t& quadCount);
- bool generateQuad(TextureVertex*& vertex,
+ uint32_t& quadCount, bool isStretch);
+ void generateQuad(TextureVertex*& vertex,
float x1, float y1, float x2, float y2,
float u1, float v1, float u2, float v2,
- uint32_t& quadCount);
+ uint32_t& quadCount, bool isStretch);
}; // struct Patch
}; // namespace uirenderer