5cc28c8ebd
- remove REGPARM entirely, it doesn't do any good these days and blocks portability - remove use of gcc, no longer needed - patch some portability issues MFH: 2026Q1 Sponsored by: Raptor Computing Systems, LLC
14 lines
442 B
C
14 lines
442 B
C
--- tex.c.orig 2026-02-12 17:46:39 UTC
|
|
+++ tex.c
|
|
@@ -128,8 +128,8 @@ static inline void makej(long x1, long x2, long n1z, l
|
|
off1 = off + x2 - x1;
|
|
for (; off <= off1;) {
|
|
|
|
- ry = (abs(n3y) >> 7) + 64;
|
|
- rx = (abs(n3x) >> 7) + 64;
|
|
+ ry = (labs(n3y) >> 7) + 64;
|
|
+ rx = (labs(n3x) >> 7) + 64;
|
|
if (((n3z >> 8) - *zbptr) < 500) {
|
|
*off = *(envmapa + (((unsigned int) ((ry << 7) + rx)) & (128 * 128 - 1)));
|
|
*zbptr = n3z >> 8;
|