зеркало из https://github.com/mozilla/gecko-dev.git
Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas
This commit is contained in:
Родитель
b9d615c5a1
Коммит
68858f505c
|
@ -2711,8 +2711,8 @@ DrawTargetD2D::SetScissorToRect(IntRect *aRect)
|
|||
rect.top = aRect->y;
|
||||
rect.bottom = aRect->YMost();
|
||||
} else {
|
||||
rect.left = rect.left = INT32_MIN;
|
||||
rect.right = rect.top = INT32_MAX;
|
||||
rect.left = rect.top = INT32_MIN;
|
||||
rect.right = rect.bottom = INT32_MAX;
|
||||
}
|
||||
|
||||
mDevice->RSSetScissorRects(1, &rect);
|
||||
|
|
Загрузка…
Ссылка в новой задаче