Stefan Dösinger : ddraw: Fix some material related bugs.