[try 2] wined3d: add zero/near zero vertex rhw special case

Alexander Dorofeyev alexd4 at inbox.lv
Tue Dec 25 02:18:21 CST 2007


Thanks for feedback! Patch updated. I'll see what I can do with the test case.

H. Verbeet wrote:
   > On 25/12/2007, Alexander Dorofeyev <alexd4 at inbox.lv> wrote:
   >> +    if ((pos[3] < 1e-8) && (pos[3] > -1e-8))
   > You should probably use eps and -eps there, like the rest of the code does.
   > Also, please write a test case to prevent this from regressing in the future.

---
    dlls/wined3d/directx.c |    9 +++++++--
    1 files changed, 7 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4faa4aee170c37b7cccd38861d08037934eb1c82.diff
Type: text/x-patch
Size: 622 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071225/4706c03f/attachment.bin 


More information about the wine-patches mailing list