summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-17 20:08:59 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-17 20:08:59 +0100
commitda21e89daa15d28aa7f485c532359fbfd6b940b5 (patch)
tree8f9fef8add660d9746011988be86df6114b5e5a7 /common
parent6664c12278130ad32f7a27bfad01c6fc9691653a (diff)
downloadspice-da21e89daa15d28aa7f485c532359fbfd6b940b5.tar.gz
spice-da21e89daa15d28aa7f485c532359fbfd6b940b5.tar.xz
spice-da21e89daa15d28aa7f485c532359fbfd6b940b5.zip
Use nearest scaling for DRAW_ALPHA_BLEND since this is what win32 needs
DrvAlphaBlend is the only current user of DRAW_ALPHA_BLEND, and its defined to do nearest (COLORONCOLOR) scaling, not bilinear.
Diffstat (limited to 'common')
-rw-r--r--common/canvas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/canvas_base.c b/common/canvas_base.c
index aecc56e2..2c85886a 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -2149,7 +2149,7 @@ static void canvas_draw_alpha_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox,
bbox->top,
bbox->right - bbox->left,
bbox->bottom - bbox->top,
- SPICE_IMAGE_SCALE_MODE_INTERPOLATE,
+ SPICE_IMAGE_SCALE_MODE_NEAREST,
alpha_blend->alpha);
}