diff options
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
| -rw-r--r-- | services/surfaceflinger/LayerBase.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 758b4087829b..069b85a59864 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp @@ -444,11 +444,11 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const      }      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];  |