Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/misc/bb/files/patch-tex.c
42635 views
1
--- tex.c.orig 2026-02-12 17:46:39 UTC
2
+++ tex.c
3
@@ -128,8 +128,8 @@ static inline void makej(long x1, long x2, long n1z, l
4
off1 = off + x2 - x1;
5
for (; off <= off1;) {
6
7
- ry = (abs(n3y) >> 7) + 64;
8
- rx = (abs(n3x) >> 7) + 64;
9
+ ry = (labs(n3y) >> 7) + 64;
10
+ rx = (labs(n3x) >> 7) + 64;
11
if (((n3z >> 8) - *zbptr) < 500) {
12
*off = *(envmapa + (((unsigned int) ((ry << 7) + rx)) & (128 * 128 - 1)));
13
*zbptr = n3z >> 8;
14
15