Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef31d7d0 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 5d477279: am cf6b2765: Merge "fix a bug where FLIP_H would do a 180 rotation" into gingerbread

Merge commit '5d477279'

* commit '5d477279':
  fix a bug where FLIP_H would do a 180 rotation
parents 4fc01e9a 5d477279
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -453,11 +453,11 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const
    }
    }
    if (transform & HAL_TRANSFORM_FLIP_V) {
    if (transform & HAL_TRANSFORM_FLIP_V) {
        swap(vLT, vLB);
        swap(vLT, vLB);
        swap(vRB, vRT);
        swap(vRT, vRB);
    }
    }
    if (transform & HAL_TRANSFORM_FLIP_H) {
    if (transform & HAL_TRANSFORM_FLIP_H) {
        swap(vLT, vRB);
        swap(vLT, vRT);
        swap(vLB, vRT);
        swap(vLB, vRB);
    }
    }


    TexCoords texCoords[4];
    TexCoords texCoords[4];