fix(ui): make GPU cache limit 512mb instead of 32mb

This commit is contained in:
LynithDev 2026-08-05 13:55:16 +02:00
parent 413931eb74
commit 792d716707

View file

@ -123,10 +123,10 @@ fn main() {
let mut launch_config = LaunchConfig::new()
.with_window(window_config)
.with_gpu_resource_cache_limit(
std::env::var("ONECLIENT_GPU_CACHE_MB")
std::env::var("ONECLIENT_GPU_CACHE_BYTES")
.ok()
.and_then(|v| v.parse::<usize>().ok())
.unwrap_or(32 * 1024 * 1024),
.unwrap_or(512 * 1024 * 1024), // 512 MB
)
.with_default_font(theme::DEFAULT_FONT);