diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-09 12:02:15 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-09 12:02:15 +0200 |
commit | 1d119d527ea14e115ef86fc7a98dd7cc69024b69 (patch) | |
tree | 62238205d05b97dda4f925c83453a7c8e067a477 | |
parent | 05da46115e7226449ad27bc7a9fad0cb8001929e (diff) |
Use the right enum types for bitmap_data.type comparisons
-rw-r--r-- | server/red_worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index 786387f2..9a987507 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -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; |