fix(ui): make GPU cache limit 512mb instead of 32mb
This commit is contained in:
parent
413931eb74
commit
792d716707
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue