1/3 WineD3D: CheckDeviceFormat rewrite
Roderick Colenbrander
thunderbird2k at gmx.net
Wed Mar 19 08:04:51 CDT 2008
Hi,
Don't perform a !Usage check for resource types. At the end of the function we are already doing this as we are doing 'Usage == UsageCaps' which should do the same as no UsageCaps would get set if Usage equals 0.
This fixes a regression as it makes sure that the dxVersion check for R8G8B8 is reached again. This makes BF1942 happy.
Regards,
Roderick Colenbrander
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-There-is-no-need-for-the-Usage-checks-at-the-start.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080319/97840141/attachment-0001.bin
More information about the wine-patches
mailing list