H. Verbeet wrote:
2008/7/30 Reece Dunn msclrhd@googlemail.com:
SetMaterial crashes when passed a NULL argument.
If you're going to do that, you might as well remove the entire test. I think this test has caused trouble before.
There is even a bug report for this:
http://bugs.winehq.org/show_bug.cgi?id=13646
It looks like the SetMaterial with a NULL argument is only permitted (read, doesn't crash) on ddraw.
Some patches were sent for this in the past as well but that was before 1.0 and were held back because of that.