[1/2] WineD3D: Don't check WGL depth stencil limitations with FBOs

Stefan Dösinger stefan at codeweavers.com
Thu Mar 25 12:56:27 CDT 2010


This is a modified version of patches 1+2 from yesterday. It only looks at the 
FBO capabilities when FBOs are used and sticks exclusively to the WGL 
capabilities otherwise. This avoids breaking WGL depth buffers when 
GL_ARB_depth_texture isn't supported.

Again, we do not yet support falling back to FBOs for onscreen float depth 
buffers, but due to a bug in IWineD3DImpl_IsPixelFormatCompatibleWithDepthFmt 
that is fixed by patch 2 this was incorrectly advertised right now. so the 
patches keep the existing behavior.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-WineD3D-Don-t-check-WGL-depth-stencil-limitations-wi.patch
Type: text/x-patch
Size: 1991 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100325/5ff1a475/attachment.bin>


More information about the wine-patches mailing list