WineD3D: imroved CheckDeviceType

Roderick Colenbrander thunderbird2k at gmx.net
Tue Feb 26 03:47:26 CST 2008


Hi,

The current implementation of CheckDeviceType doesn't check whether a format is a proper display / backbuffer format. The attached test reveals that. This patch checks that correctly. It moves the backbuffer format validation to CheckDeviceFormat. CheckDeviceFormat can use some improvements in that area though for instance it doesn't handle the offscreen rendering method correctly but that is future work. This patch already improves the behavior a lot.

Regards,
Roderick Colenbrander
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-This-is-a-rewrite-of-CheckDeviceType.-The-previous-v.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080226/de8277ae/attachment.bin 


More information about the wine-patches mailing list