On Thu, 09 Feb 2012 14:58:06 -0600
DRC <dcomman...@users.sourceforge.net> wrote:

> 
> You mean this code?
> 
>     if (ig->willTransform()) {
>       ig->translatePixels(pixels, &solidColor, 1);
>       pixels = (PIXEL_T *)&solidColor;
>     }
> 
> I don't follow.  As you can see, it changes the value of the "pixels"
> pointer so that it points at the local "solidColor" variable and no
> longer at the framebuffer, so the framebuffer is not modified.  I can't
> see any other place in the code where the framebuffer was being modified.

But ig->willTransform() can return false, which is even the common case.

-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to