mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
fixed bug in XF86 writeRegionClipped()
This commit is contained in:
parent
d0130a989a
commit
b5410da76e
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ static FxBool writeRegionClipped(fxMesaContext fxMesa, GrBuffer_t dst_buffer,
|
|||
if (dst_y>=fxMesa->pClipRects[i].y1 && dst_y<fxMesa->pClipRects[i].y2) {
|
||||
if (dst_x<fxMesa->pClipRects[i].x1) {
|
||||
x=fxMesa->pClipRects[i].x1;
|
||||
data=((char*)src_data)+srcElt*(dst_x-x);
|
||||
data=((char*)src_data)+srcElt*(x - dst_x);
|
||||
w=src_width-(x-dst_x);
|
||||
} else {
|
||||
x=dst_x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue