Limit drawing to the destination pixmap's boundaries, not the screen's.
This shouldn't matter, as miComputeCompositeRegion shouldn't giving us anything that would draw outside the bounds, anyway.
This commit is contained in:
parent
cffd2cd36d
commit
30952e58ed
|
|
@ -446,7 +446,8 @@ ErrorF("i915 prepareComposite\n");
|
|||
OUT_RING(_3DSTATE_DRAW_RECT_CMD);
|
||||
OUT_RING(0x00000000);
|
||||
OUT_RING(0x00000000); /* ymin, xmin*/
|
||||
OUT_RING(DRAW_YMAX(pScrn->virtualY-1) | DRAW_XMAX(pScrn->virtualX-1));
|
||||
OUT_RING(DRAW_YMAX(pDst->drawable.height - 1) |
|
||||
DRAW_XMAX(pDst->drawable.width - 1));
|
||||
OUT_RING(0x00000000); /* yorig, xorig (relate to color buffer?)*/
|
||||
OUT_RING(MI_NOOP);
|
||||
ADVANCE_LP_RING();
|
||||
|
|
|
|||
Loading…
Reference in New Issue