Change the rhw=0 range to ]1e-8,1e-8[ and move the value to a constant in wined3d_types.h
Attach a file by drag & drop or click to upload