From 068da49a4c1e4f9513c0ea9fc5d3d8751a4cd8c3 Mon Sep 17 00:00:00 2001 From: teoxoy <28601907+teoxoy@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:36:45 +0200 Subject: [PATCH] use `error_ident` for log instead of ID --- wgpu-core/src/device/resource.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-core/src/device/resource.rs b/wgpu-core/src/device/resource.rs index 8c2e26717..d8d112c69 100644 --- a/wgpu-core/src/device/resource.rs +++ b/wgpu-core/src/device/resource.rs @@ -1243,8 +1243,8 @@ impl Device { }; log::debug!( - "Create view for texture {:?} filters usages to {:?}", - texture.as_info().id(), + "Create view for {} filters usages to {:?}", + texture.error_ident(), usage );