http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #17 from joaopa jeremielapuree@yahoo.fr 2008-06-09 04:39:20 --- Indeed, it is authorized to give a NULL value in SetMAterial only in ddraw, not in d3d8 and d3d9. I sent a patch to correct it.
David