[PATCH 1/4] d3dx9: Use BitScanReverse in make_pow2.

Jacek Caban jacek at codeweavers.com
Wed Jun 10 07:21:03 CDT 2020


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
I left behaviour for num == 1 unchanged, but according to the comment it 
should be 0. We don't seem to have a test for that.

  dlls/d3dx9_36/d3dx9_private.h | 15 ++-------------
  1 file changed, 2 insertions(+), 13 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dx9-Use-BitScanReverse-in-make_pow2.txt
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200610/7e6c6ebb/attachment.bin>


More information about the wine-devel mailing list