Merge "Fix scaled-view droppings artifact" into jb-mr2-dev
This commit is contained in:
@ -299,8 +299,8 @@ void DisplayList::updateMatrix() {
|
|||||||
if (mWidth != mPrevWidth || mHeight != mPrevHeight) {
|
if (mWidth != mPrevWidth || mHeight != mPrevHeight) {
|
||||||
mPrevWidth = mWidth;
|
mPrevWidth = mWidth;
|
||||||
mPrevHeight = mHeight;
|
mPrevHeight = mHeight;
|
||||||
mPivotX = mPrevWidth / 2;
|
mPivotX = mPrevWidth / 2.0f;
|
||||||
mPivotY = mPrevHeight / 2;
|
mPivotY = mPrevHeight / 2.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((mMatrixFlags & ROTATION_3D) == 0) {
|
if ((mMatrixFlags & ROTATION_3D) == 0) {
|
||||||
|
Reference in New Issue
Block a user