Skip to content

Commit

Permalink
fix: decrease loaded material pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
mosure committed Sep 3, 2024
1 parent 73efa31 commit 8ac94d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ffi/src/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ fn main() {
zeroverse_args.width = 640.0;
zeroverse_args.height = 480.0;
zeroverse_args.regenerate_scene_material_shuffle_period = 256;
zeroverse_args.scene_type = ZeroverseSceneType::Object;
zeroverse_args.scene_type = ZeroverseSceneType::Room;

setup_globals(None);

Expand Down
2 changes: 1 addition & 1 deletion src/material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct MaterialLoaderSettings {
impl Default for MaterialLoaderSettings {
fn default() -> Self {
Self {
batch_size: 150,
batch_size: 100,
}
}
}
Expand Down

0 comments on commit 8ac94d7

Please sign in to comment.