summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-12-03 17:36:47 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-12-03 17:36:47 +0000
commit1013527c6e4bbe3a1a1141bc7a88f289059d1764 (patch)
tree2f0acf6b0fcf516bfe7266512fe23b0c673e7eb2 /common
parent5e5628488301ce493831c5f92ecbb13482c57a78 (diff)
downloadtigervnc-1013527c6e4bbe3a1a1141bc7a88f289059d1764.tar.gz
tigervnc-1013527c6e4bbe3a1a1141bc7a88f289059d1764.zip
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
Diffstat (limited to 'common')
-rw-r--r--common/rfb/ScaledPixelBuffer.cxx4
1 files 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));
}