]> source.dussan.org Git - tigervnc.git/commitdiff
Set the default scaled filter to bicubic.
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 3 Dec 2006 17:42:59 +0000 (17:42 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 3 Dec 2006 17:42:59 +0000 (17:42 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2168 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaledPixelBuffer.cxx

index 3e55630d4f5403d9f74d73f54d695922fa102022..639dcd9d16741958af604aae078a84ecd9cf9141 100644 (file)
@@ -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));
 }