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

Commit c2a5b469 authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am a527c07b: Merge "Fix mistake using width instead of height."

* commit 'a527c07b':
  Fix mistake using width instead of height.
parents b4cf4d7d a527c07b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3123,7 +3123,7 @@ void SurfaceFlinger::renderScreenImplLocked(
    const int32_t hw_w = hw->getWidth();
    const int32_t hw_h = hw->getHeight();
    const bool filtering = static_cast<int32_t>(reqWidth) != hw_w ||
                           static_cast<int32_t>(reqWidth) != hw_h;
                           static_cast<int32_t>(reqHeight) != hw_h;

    // if a default or invalid sourceCrop is passed in, set reasonable values
    if (sourceCrop.width() == 0 || sourceCrop.height() == 0 ||