WineD3D: intel stencil fix (fixes bug 12557)

Roderick Colenbrander thunderbird2k at gmx.net
Mon May 5 13:50:00 CDT 2008


Hi,

Intel i915 cards on Linux only offer mixed depth + stencil formats. Normally you have a few depth formats and a couple of mixed ones. Microsoft makes the same assumption. They also mention on MSDN that it is fine to emulate e.g. 16 bit depth using 24 bit but it isn't allowed to emulate stencil using more bits.

Anyway this patch allows the use of a mixed depth + stencil format for depth support on 'broken' drivers like intel theirs. IsPixelFormatCompatibleWithDepthFmt also required a small change for this.

This is required to fix bug 12557.

Regards,
Roderick Colenbrander
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-stencil-support-when-it-wasn-t-requested-on-br.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080505/d047b7e9/attachment.bin 


More information about the wine-patches mailing list