diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-01-23 17:17:09 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-03-26 10:15:04 +0100 |
commit | d2ee99e15f773306647696d45d69bfc5e358cd29 (patch) | |
tree | 8f9745041b88fade3a03fd167a2f3a309358f596 /common | |
parent | 37325b4e88953f8bd0d3e87165491764b29d5425 (diff) |
Remove another redundant (SW_CANVAS_CACHE) || (SW_CANVAS_IMAGE_CACHE) #ifdef
Diffstat (limited to 'common')
-rw-r--r-- | common/canvas_base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/canvas_base.c b/common/canvas_base.c index a2dc431..400fba4 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -1575,12 +1575,10 @@ static pixman_image_t *canvas_get_mask(CanvasBase *canvas, SpiceQMask *mask, int surface = canvas_get_bitmap_mask(canvas, &image->u.bitmap, is_invers); break; } -#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) case SPICE_IMAGE_TYPE_FROM_CACHE: surface = canvas->bits_cache->ops->get(canvas->bits_cache, image->descriptor.id); is_invers = 0; break; -#endif #ifdef SW_CANVAS_CACHE case SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS: surface = canvas->bits_cache->ops->get_lossless(canvas->bits_cache, image->descriptor.id); |