mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 20:04:09 +00:00
Use the right enum types for bitmap_data.type comparisons
This commit is contained in:
parent
05da46115e
commit
1d119d527e
@ -6957,8 +6957,8 @@ static void red_lossy_send_qxl_draw_opaque(RedWorker *worker,
|
||||
&src_bitmap_data);
|
||||
}
|
||||
|
||||
if (!(brush_is_lossy && (brush_bitmap_data.type == SPICE_IMAGE_TYPE_SURFACE)) &&
|
||||
!(src_is_lossy && (src_bitmap_data.type == SPICE_IMAGE_TYPE_SURFACE))) {
|
||||
if (!(brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) &&
|
||||
!(src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE))) {
|
||||
FillBitsType src_send_type;
|
||||
int has_mask = !!drawable->u.opaque.mask.bitmap;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user