From 80c6babd97e45fb0a07bd9f1a5a0df0ee00a3409 Mon Sep 17 00:00:00 2001 From: MrGVSV <49806985+MrGVSV@users.noreply.github.com> Date: Wed, 20 Apr 2022 11:46:33 +0000 Subject: [PATCH] Remove nonexistent `WgpuResourceDiagnosticsPlugin` (#4541) # Objective Uncommenting the following results in a compile error: https://github.com/bevyengine/bevy/blob/7557f4db83b8e9d3049f242bd4b58f8546bb1510/examples/diagnostics/log_diagnostics.rs#L14-L15 ## Solution Remove the commented line. --- examples/diagnostics/log_diagnostics.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/diagnostics/log_diagnostics.rs b/examples/diagnostics/log_diagnostics.rs index 359e64086e..8c1447e60b 100644 --- a/examples/diagnostics/log_diagnostics.rs +++ b/examples/diagnostics/log_diagnostics.rs @@ -11,8 +11,6 @@ fn main() { // Adds a system that prints diagnostics to the console .add_plugin(LogDiagnosticsPlugin::default()) // Any plugin can register diagnostics - // Uncomment this to add some render resource diagnostics: - // .add_plugin(bevy::wgpu::diagnostic::WgpuResourceDiagnosticsPlugin::default()) // Uncomment this to add an entity count diagnostics: // .add_plugin(bevy::diagnostic::EntityCountDiagnosticsPlugin::default()) // Uncomment this to add an asset count diagnostics: