Fix for PlgBlt, the XFORM matrix was calculated incorrectly

Alexander Almaleh sashoalm at gmail.com
Wed May 21 11:13:42 CDT 2014


Done! Bug submitted at http://bugs.winehq.org/show_bug.cgi?id=36504.


On Wed, May 21, 2014 at 4:12 PM, Bruno Jesus <00cpxxx at gmail.com> wrote:

> On Tue, May 20, 2014 at 1:39 PM, Alexander Almaleh <sashoalm at gmail.com>
> wrote:
> > I had tried to submit a patch for that 5 years ago, but couldn't figure
> out
> > how to make a patch/test it, and eventually gave up and forgot about it.
> But
> > recently I remembered about it, and now I want to try again.
> >
> > So, this time I've prepared a test that can prove that the previous
> > implementation does not calculate the XFORM matrix correctly, and that my
> > patch will fix it.
> >
> > The test is a VC6 project, you can find it at
> >
> https://drive.google.com/file/d/0B9PGUhmmnsm1S2VvZzc3WmhBY3c/edit?usp=sharing
> .
> > The test is a demo of PlgBlt that I found on CodeProject. You can compare
> > how it works on XP and on Wine. For testing, I directly inserted the
> > original Wine implementation of PlgBlt, as well as my patched version,
> into
> > the VC6 project, and tested on that. This is because there seems to be an
> > additional problem with MaskBlt, which I'll try tackling next.
> >
>
> I can confirm your code works in XP. I think the first thing to do is
> to create a bug to take care of the issue.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140521/fc0ffd3c/attachment.html>


More information about the wine-devel mailing list