Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas

This commit is contained in:
Robert O'Callahan 2012-10-04 00:30:56 +13:00
Родитель b9d615c5a1
Коммит 68858f505c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);