From da21e89daa15d28aa7f485c532359fbfd6b940b5 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 17 Mar 2010 20:08:59 +0100 Subject: 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. --- common/canvas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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); } -- cgit