aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2007-11-05 14:28:40 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2007-11-05 14:28:40 +0000
commit3e111537b52590b001ee60afb7a38d1f7a8632b1 (patch)
treecb248e2ddfc4881cc4264fdbef7aa3da5a83105a /common
parentc79c7bb5b3c87908ae5a1c93fc8d1c6e9aa9d474 (diff)
downloadtigervnc-3e111537b52590b001ee60afb7a38d1f7a8632b1.tar.gz
tigervnc-3e111537b52590b001ee60afb7a38d1f7a8632b1.zip
Removed the possibility to choose the scale filter in the options dialog of vncviewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2366 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 12658f7b..e45274e4 100644
--- a/common/rfb/ScaledPixelBuffer.cxx
+++ b/common/rfb/ScaledPixelBuffer.cxx
@@ -30,7 +30,7 @@ using namespace rfb;
ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_,
int src_height_, int scale_, PixelFormat pf_)
- : scale(scale_), scale_ratio_x(1), scale_ratio_y(1), scaleFilterID(scaleFilterBicubic),
+ : scale(scale_), scale_ratio_x(1), scale_ratio_y(1), scaleFilterID(scaleFilterBilinear),
xWeightTabs(0), yWeightTabs(0), scaled_data(0), raccum(0), gaccum(0), baccum(0) {
setSourceBuffer(src_data_, src_width_, src_height_);
@@ -39,7 +39,7 @@ ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_,
ScaledPixelBuffer::ScaledPixelBuffer()
: src_width(0), src_height(0), scaled_width(0), scaled_height(0), scale(100),
- scale_ratio_x(1), scale_ratio_y(1), scaleFilterID(scaleFilterBicubic),
+ scale_ratio_x(1), scale_ratio_y(1), scaleFilterID(scaleFilterBilinear),
xWeightTabs(0), yWeightTabs(0), src_data(0), scaled_data(0), raccum(0),
gaccum(0), baccum(0) {
memset(&pf, 0, sizeof(pf));