Rename use_cpu to opencl and adjust logic accordingly.

This commit is contained in:
2025-04-09 18:58:55 +02:00
parent c30c10e494
commit c554b1f164
3 changed files with 8 additions and 15 deletions

View File

@ -9,7 +9,7 @@ pub struct SearchBehavior {
pub ignore_entities: bool,
pub threshold: f32,
pub invalid_nbt: bool,
pub use_cpu: bool,
pub opencl: bool,
}
impl Default for SearchBehavior {
@ -22,7 +22,7 @@ impl Default for SearchBehavior {
ignore_entities: false,
threshold: 0.9,
invalid_nbt: false,
use_cpu: false,
opencl: false,
}
}
}