Blender Git Loki
Git Commits -> Revision 8229ea5
Revision 8229ea5 by Ton Roosendaal (master) January 9, 2005, 13:36 (GMT) |
Different integer overflow test for zbuffering, this due to mist+wire bug that seems not to be solved on intel platforms. Previously, a positive signed integer overflow addition was checked by assuming it to become negative. Now it checks 'safe' with this version: if(vergz > 0x7FFFFFF0 - dz) vergz= 0x7FFFFFF0; else vergz+= dz; Reason why using signed ints is cumbersome... overflows for unsigned are much easer to find. |
Commit Details:
Full Hash: 8229ea59de33bb2dd01840a96943e30412392857
SVN Revision: 3741
Parent Commit: 4f2e57a
Lines Changed: +14, -13