Bug Tracker item #3489646, was opened at 2012-02-20 07:14
Message generated for change (Tracker Item Submitted) made by jerrynguyen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3489646&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows version
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jerry Nguyen (jerrynguyen)
Assigned to: Peter Åstrand (astrand)
Summary: the zoom feature does not work with TigerVnc 1.1.0

Initial Comment:
I have just started using TigerVNC and find out it is really fast, however the 
Zoom feature does not work...it only display rubbish when the scale is not 
100%. Look around the code and i found out the rgbFromPixel is not correct...by 
changing to then it will work (hope this help any one need this feature)

PixelFormat::rgbFromPixel(Pixel p, ColourMap* cm, rdr::U16 *r, rdr::U16 *g, 
rdr::U16 *b) const
 if (trueColour) {
    /* We don't need to mask since we shift out unwanted bits */
    *r = ((p >> redShift) & redMax); // << redConvShift;
    *g = ((p >> greenShift) & greenMax); // << greenConvShift;
    *b = ((p >> blueShift) & blueMax); //<< blueConvShift;
  } else if (cm) {

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3489646&group_id=254363

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to