Merge pull request #49 from yshui/debug-40

Set clip region on the target picture
This commit is contained in:
yshui 2018-11-10 12:56:55 +00:00 committed by GitHub
commit d0e824ea6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1871,7 +1871,7 @@ paint_all(session_t *ps, region_t *region, const region_t *region_real, win * co
} }
if (BKEND_XRENDER == ps->o.backend) { if (BKEND_XRENDER == ps->o.backend) {
x_set_picture_clip_region(ps, ps->tgt_buffer.pict, 0, 0, region_real); x_set_picture_clip_region(ps, ps->tgt_picture, 0, 0, region_real);
} }
region_t reg_tmp, *reg_paint; region_t reg_tmp, *reg_paint;