From 1013527c6e4bbe3a1a1141bc7a88f289059d1764 Mon Sep 17 00:00:00 2001 From: george82 Date: Sun, 3 Dec 2006 17:36:47 +0000 Subject: [PATCH] Set the default scaled filter to bilinear. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2167 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/ScaledPixelBuffer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/rfb/ScaledPixelBuffer.cxx b/common/rfb/ScaledPixelBuffer.cxx index 639dcd9d..3e55630d 100644 --- a/common/rfb/ScaledPixelBuffer.cxx +++ b/common/rfb/ScaledPixelBuffer.cxx @@ -31,7 +31,7 @@ using namespace rfb; ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_, int src_height_, int scale, PixelFormat pf_) : xWeightTabs(0), yWeightTabs(0), scaled_data(0), scale_ratio(1), - scaleFilterID(scaleFilterBicubic) { + scaleFilterID(scaleFilterBilinear) { setSourceBuffer(src_data_, src_width_, src_height_); setPF(pf_); @@ -40,7 +40,7 @@ ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_, ScaledPixelBuffer::ScaledPixelBuffer() : src_data(0), src_width(0), src_height(0), scale_ratio(1), scaled_width(0), xWeightTabs(0), yWeightTabs(0), scaled_height(0), scaled_data(0), - scaleFilterID(scaleFilterBicubic) { + scaleFilterID(scaleFilterBilinear) { memset(&pf, 0, sizeof(pf)); } -- 2.39.5