sculpt_manager: fix quota boost limit for runtime_view

Commit 75e1f1797d increased runtime_view's initial RAM quota from 4MiB
to 52MiB, but failed to adjust the boost limit. Therefore, when
addtional RAM was requested, the limit would actually be degreased to
32MiB.

Adjust the RAM boost limit to 64MiB to make the runtime_view work on 4k
screens.

Issue #5356
This commit is contained in:
Benjamin Lamowski 2024-10-22 13:14:50 +02:00 committed by Christian Helmuth
parent f30bbb1472
commit 6715f074ff

View File

@ -105,7 +105,7 @@ class Dialog::Distant_runtime : Noncopyable
return false; return false;
if (child.has_sub_node("ram") && child.sub_node("ram").has_attribute("requested")) { if (child.has_sub_node("ram") && child.sub_node("ram").has_attribute("requested")) {
_ram.value = min(2*_ram.value, 32*1024*1024u); _ram.value = min(2*_ram.value, 64*1024*1024u);
result = true; result = true;
} }