wined3d: Use width while converting surfaces.

Stefan Dösinger stefandoesinger at gmx.at
Tue Nov 7 10:29:26 CST 2006


Hi,
> -                for (x = 0; x < pitch / 2; x++ ) {
> +                for (x = 0; x < width / 2; x++ ) {
This is not quite correct. pitch / 2 was used because in D3DFMT_R5G6B5 pitch = 
2* width(Used to be, before my alignment patches). So this line should be for 
(x = 0; x < width; x++ ) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061107/83705417/attachment-0001.pgp


More information about the wine-patches mailing list