Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dmap bug if compiled with GCC and x86 FMA enabled
Only happend if `ONATIVE` was enabled (or some other flag was set that enables the FMA extension), the root cause was that the cross product didn't return 0 when it should, but a small value < 0. RobertBeckebans/RBDOOM-3-BFG#436 (comment) has lots of explanation. I think this is a compiler bug, this commit works around it. fixes #147
- Loading branch information
1 parent
f273182
commit 1100867
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters