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

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

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

Merge commit 'cf6b2765ae7ea6305754e253264012b8f0498f7b' into gingerbread-plus-aosp

* commit 'cf6b2765ae7ea6305754e253264012b8f0498f7b':
  fix a bug where FLIP_H would do a 180 rotation
parents 2e109a86 20f29b4a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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];