This commit is contained in:
atlas 2025-07-09 02:28:57 -04:00
parent f886c8090f
commit 61e410547c

View File

@ -165,11 +165,11 @@ fn find_adapter_by_name(
} }
} }
if info.name.eq_ignore_ascii_case(&adapter_name) { if info.name.eq_ignore_ascii_case(adapter_name) {
return Some(adapter); return Some(adapter);
} }
} }
return None; None
} }
/// Initializes the renderer by retrieving and preparing the GPU instance, device and queue /// Initializes the renderer by retrieving and preparing the GPU instance, device and queue