summaryrefslogtreecommitdiffstats
path: root/common/rfb/ScaledPixelBuffer.cxx
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-12-03 17:42:59 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-12-03 17:42:59 +0000
commitf3209c6ef9d3b0ad0aeec14dd7225956a585b849 (patch)
treec587e6737abbfb8b5c4fc68423ca8961bace9893 /common/rfb/ScaledPixelBuffer.cxx
parent1013527c6e4bbe3a1a1141bc7a88f289059d1764 (diff)
downloadtigervnc-f3209c6ef9d3b0ad0aeec14dd7225956a585b849.tar.gz
tigervnc-f3209c6ef9d3b0ad0aeec14dd7225956a585b849.zip
Set the default scaled filter to bicubic.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2168 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ScaledPixelBuffer.cxx')
-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 3e55630d..639dcd9d 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(scaleFilterBilinear) {
+ scaleFilterID(scaleFilterBicubic) {
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(scaleFilterBilinear) {
+ scaleFilterID(scaleFilterBicubic) {
memset(&pf, 0, sizeof(pf));
}