From 4448ca54a77124b73ed9a77e736a5427a70cd61e Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 18 Oct 2023 00:23:40 -0400 Subject: [PATCH] Better names --- wgpu-hal/src/auxil/dxgi/factory.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wgpu-hal/src/auxil/dxgi/factory.rs b/wgpu-hal/src/auxil/dxgi/factory.rs index fa168c8202..86d632678c 100644 --- a/wgpu-hal/src/auxil/dxgi/factory.rs +++ b/wgpu-hal/src/auxil/dxgi/factory.rs @@ -14,7 +14,7 @@ pub enum DxgiFactoryType { Factory6, } -fn filter_adapter(adapter: &dxgi::IDXGIAdapter1) -> bool { +fn should_keep_adapter(adapter: &dxgi::IDXGIAdapter1) -> bool { let mut desc = unsafe { std::mem::zeroed() }; unsafe { adapter.GetDesc1(&mut desc) }; @@ -58,7 +58,7 @@ pub fn enumerate_adapters(factory: d3d12::DxgiFactory) -> Vec Vec