summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-07 21:18:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-07 21:18:59 +0100
commit477fb4ed3f46a8ca36a65345df7c99ea3b2f09f6 (patch)
tree209dd0a7d2bf4305dbbddf9a6411fe3be5ce18e4
parente65a90e1773426ec510b1a5b20b9b1757a5df05d (diff)
b
-rw-r--r--src/chunk-scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index 5c0c90c6..946f835a 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -199,7 +199,7 @@ void chunk::ensure_scenery_buffers(scenery_scratch_buffers bufs)
size_t len;
- if (len_ > 1 << 17)
+ if (len_ > 1 << 20)
len = len_;
else
len = std::bit_ceil(len_);