[WINED3D] Flip red/blue for R8G8B8 format.

Stefan Dösinger stefandoesinger at gmx.at
Sun May 7 04:27:36 CDT 2006


Am Sonntag, 7. Mai 2006 11:06 schrieb H. Verbeet:
> There might be more to this. This was changed the other way around not
> too long ago. See
> http://source.winehq.org/git/?p=wine.git;a=commit;h=252c4adb965a26db19c1c91
>61c40a82b488cb6d4
If I'm not mistaken, then this patch was mainly to correct issues with 
WINED3DFMT_R5G6B5. Looks like changing WINED3DFMT_R8G8B8 too was wrong.

> It might just be that the glDrawPixels call should've been changed
> instead last time.  (Shouldn't those simply use the format in
> This->glDescription.glFormat in the first place?)
The UnlockRect code calling glDrawpixels is a bit odd, and I think it should 
be changed to use the surface's glDescription instead. It needs some other 
fixes too
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060507/494720ec/attachment.pgp


More information about the wine-devel mailing list