[PATCH 1/1] d3dx9: Fix calculation when in and out overlap in D3DXSHRotateZ().

Rico Schüller kgbricola at web.de
Thu Oct 18 04:33:29 CDT 2012


Hi,

this fixes the calculation in D3DXSHRotateZ() when in and out overlap. 
This patch is based on a patch from Nozomi. This is a slightly improved 
version, compared to my last suggestion send to wine-devel:
- remove the if in the loops (this saves a couple of comparisons)

The test will be added by Nozomi (see 
http://www.winehq.org/pipermail/wine-devel/2012-October/097452.html).

Cheers
Rico

---
  dlls/d3dx9_36/math.c | 88 
++++++++++++++++++++--------------------------------
  1 Datei geändert, 33 Zeilen hinzugefügt(+), 55 Zeilen entfernt(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dx9-Fix-calculation-when-in-and-out-overlap-in-D3DXS.txt
Type: text/x-patch
Size: 3481 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121018/ff749c8c/attachment-0001.bin>


More information about the wine-patches mailing list