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

Commit b65b66cc authored by Chris Elliott's avatar Chris Elliott Committed by Android Git Automerger
Browse files

am 2224eac3: Merge "bootanimation: fix garbage line issue when screen height...

am 2224eac3: Merge "bootanimation: fix garbage line issue when screen height is odd." into lmp-mr1-modular-dev

* commit '2224eac3':
  bootanimation: fix garbage line issue when screen height is odd.
parents b53420d0 2224eac3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -630,7 +630,10 @@ bool BootAnimation::movie()
                    }
                    glDisable(GL_SCISSOR_TEST);
                }
                glDrawTexiOES(xc, yc, 0, animation.width, animation.height);
                // specify the y center as ceiling((mHeight - animation.height) / 2)
                // which is equivalent to mHeight - (yc + animation.height)
                glDrawTexiOES(xc, mHeight - (yc + animation.height),
                              0, animation.width, animation.height);
                eglSwapBuffers(mDisplay, mSurface);

                nsecs_t now = systemTime();