chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6d060
)
Reduce MAXPOINTS a little
author
Ben Harris
<bjh21@bjh21.me.uk>
Sun, 16 Nov 2025 14:01:13 +0000
(14:01 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:55:10 +0000
(21:55 +0000)
whitepixel() now generates at most 16 points per pixel, not 20.
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index 52afbb3ab0c317cede3e2472f657ddb7ed5d59dd..5ca7adad029c414f0e5a5ead32b47ebc59d9ded2 100644
(file)
--- a/
bedstead.c
+++ b/
bedstead.c
@@
-4348,7
+4348,7
@@
typedef struct point {
struct vec v;
} point;
-#define MAXPOINTS (XSIZE * YSIZE *
20
)
+#define MAXPOINTS (XSIZE * YSIZE *
16
)
static point points[MAXPOINTS];