<div dir="ltr">These two following patches fix bug 13646.<br><div class="gmail_quote">Only ddraw checks for a null entry in SetMaterial (see the discussion in wine-devel).<br>Natively, d3d9 and d3d8 crash in SetMaterial when a null pointer is given.<br>
To match the native behaviour of windows, wine must crash when calling SetMaterial in d3d8 or d3d9 with a null pointer.<br>
So, one must remove the tests in d3d9 and d3d8<br>&nbsp;to avoid to make wine crashed.<br><br>David<br><font color="#888888"><br>
</font></div></div>