1/3 WineD3D: CheckDeviceFormat rewrite
thunderbird2k at gmx.net
Sun Mar 16 10:59:06 CDT 2008
This are parts of the same CheckDeviceFormats rewrite which I proposed a couple of weeks ago. The difference is that it is done in 'smaller' parts now.
The current CheckDeviceFormat code is very broken in the sense that it doesn't check a lot of usage types, it doesn't take into account for all resource types whether a usage flag makes sense and it is hard to read/maintain.
This first patch adds a function CheckDepthStencilCapabilities whose purposes is to see if we support a certain d3d depthstencil format is backed by a WGL pixel format. This usage flag only makes sense on surfaces and 2d textures.
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080316/ab2bfc20/attachment.bin
More information about the wine-patches