summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-10-21 00:07:32 -0700
committerMathias Agopian <mathias@google.com>2010-10-21 00:07:32 -0700
commit937af9b7136a8b692812bc47eaeb9a3e255c46a5 (patch)
tree2f8b40fe05cd925e207f1671c9321f703c88007d
parent118b5d7961a4abc29c8bd592956007f40ad4fc6d (diff)
downloadlibhardware-937af9b7136a8b692812bc47eaeb9a3e255c46a5.tar.gz
fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
there are a typo in hardware.h where FLIP_V and FLIP_H were inverted. this change will probably break all the overlay HALs which implement FLIP_V/H, which thanksfully are not many. Change-Id: Ie824d9a924354d637e44eb6476cb4e5e945c3594
-rw-r--r--include/hardware/overlay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware/overlay.h b/include/hardware/overlay.h
index 42fb0145..c56a974d 100644
--- a/include/hardware/overlay.h
+++ b/include/hardware/overlay.h
@@ -54,9 +54,9 @@ enum {
/* values for copybit_set_parameter(OVERLAY_TRANSFORM) */
enum {
/* flip source image horizontally */
- OVERLAY_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_V,
+ OVERLAY_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_H,
/* flip source image vertically */
- OVERLAY_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_H,
+ OVERLAY_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_V,
/* rotate source image 90 degrees */
OVERLAY_TRANSFORM_ROT_90 = HAL_TRANSFORM_ROT_90,
/* rotate source image 180 degrees */