Minor change in Fl_Wayland_Graphics_Driver::copy_offscreen()
This commit is contained in:
parent
fb6c38b1a4
commit
040607b595
@ -265,7 +265,7 @@ void Fl_Wayland_Graphics_Driver::copy_offscreen(int x, int y, int w, int h,
|
||||
cairo_matrix_init_scale(&matrix, s, s);
|
||||
cairo_matrix_translate(&matrix, -(x - srcx), -(y - srcy));
|
||||
cairo_pattern_set_matrix(pat, &matrix);
|
||||
cairo_mask(cairo_, pat);
|
||||
cairo_paint(cairo_);
|
||||
cairo_pattern_destroy(pat);
|
||||
cairo_restore(cairo_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user