mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-31 02:41:58 +00:00
canvas: Remove dc parameter from SwCanvas::put_image
Not used anymore. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
6ce1a61577
commit
b0f1d31dd1
@ -141,9 +141,6 @@ typedef struct {
|
||||
void (*draw_transparent)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceTransparent* transparent);
|
||||
void (*draw_alpha_blend)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlend* alpha_blend);
|
||||
void (*put_image)(SpiceCanvas *canvas,
|
||||
#ifdef WIN32
|
||||
HDC dc,
|
||||
#endif
|
||||
const SpiceRect *dest, const uint8_t *src_data,
|
||||
uint32_t src_width, uint32_t src_height, int src_stride,
|
||||
const QRegion *clip);
|
||||
|
||||
@ -993,9 +993,6 @@ static void colorkey_scale_image_from_surface(SpiceCanvas *spice_canvas,
|
||||
}
|
||||
|
||||
static void canvas_put_image(SpiceCanvas *spice_canvas,
|
||||
#ifdef WIN32
|
||||
HDC dc,
|
||||
#endif
|
||||
const SpiceRect *dest, const uint8_t *src_data,
|
||||
uint32_t src_width, uint32_t src_height, int src_stride,
|
||||
const QRegion *clip)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user