Fix clip merging behavior
Previously, a new op with a clipped side could be added to a
MergingDrawBatch without considering the batch's current bounds.
Change-Id: I1b873ecf821bad7cda6630c3f311edd90ac5cc8c
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 5b7f90d..9cd2047 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -81,7 +81,7 @@
};
enum ClipSideFlags {
- kClipSide_Unclipped = 0x0,
+ kClipSide_None = 0x0,
kClipSide_Left = 0x1,
kClipSide_Top = 0x2,
kClipSide_Right = 0x4,