<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Henri Verbeet wrote:<BR><BR>&gt;2008/9/29 Kjell Rune Skaaraas &lt;kjella79 at yahoo.no&gt;:<BR>&gt;&gt; Hello,<BR>&gt;&gt;<BR>&gt;&gt; A simple patch which adds converting between A8R8G8B8 and X8R8G8B8 that<BR>&gt;&gt; gives me one less warning to deal with while trying to make a game function.<BR>&gt;&gt; It zeroes out the alpha channel to be on the safe side, though it should<BR>&gt;&gt; never be used in the destination format anyway.<BR>&gt;&gt;<BR>&gt;What does this fix, in practice?<BR><BR><BR><BR>A D3D surface is being converted from A8R8G8B8 to X8R8G8B8 and wine warns that there is no conversion function, so I added it. In practise it doesn't matter because the RGB parts are still valid, so nothing should change unless any app uses the X8 bits = unused. Just fixed a warning and was the right skill level for my first wine patch. I'm working on one that
 does a little more real work now.<BR><BR><BR>Regards,<BR><BR>Kjell Rune<BR><BR></td></tr></table><br>


      <hr size=1><br><table><tr><td>Alt i ett. Få <a href=http://no.mail.yahoo.com>Yahoo! Mail</a> med adressekartotek, kalender og notisblokk.</td></tr></table>