commit | 5ba59975ebd31faf8049b8b1cbd707ebbb32806f | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Oct 11 14:19:24 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Oct 11 14:19:24 2010 -0700 |
tree | 832fa1a41727736696f72485672742c4f3807eec | |
parent | ce2f1909c74a1b90995f06a865d21260b062300b [diff] [blame] |
fix a bug where FLIP_H would do a 180 rotation Change-Id: Ie2cc4a8543a5625750c8596f87edcb66fcbca31f
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 758b408..069b85a 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp
@@ -444,11 +444,11 @@ } if (transform & HAL_TRANSFORM_FLIP_V) { swap(vLT, vLB); - swap(vRB, vRT); + swap(vRT, vRB); } if (transform & HAL_TRANSFORM_FLIP_H) { - swap(vLT, vRB); - swap(vLB, vRT); + swap(vLT, vRT); + swap(vLB, vRB); } TexCoords texCoords[4];