mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-12 18:53:33 +00:00
gl: ignore alpha channel in draw_copy
Similar to sw canvas blit copy operation, and not a blend.
This commit is contained in:
parent
370ba35339
commit
b6faccb381
@ -373,6 +373,7 @@ static void gl_canvas_draw_copy(SpiceCanvas *spice_canvas, SpiceRect *bbox, Spic
|
||||
surface_to_image(canvas, surface, &image, 0);
|
||||
SET_GLC_RECT(&dest, bbox);
|
||||
SET_GLC_RECT(&src, ©->src_area);
|
||||
image.format = GLC_IMAGE_RGB32;
|
||||
glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1);
|
||||
|
||||
pixman_image_unref(surface);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user