Skip to content

Commit

Permalink
wgpu: Remove workaround for lack of impl Debug for StagingBelt.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Nov 22, 2023
1 parent 2b9fcb2 commit 1314375
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions all-is-cubes-gpu/src/in_wgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ impl all_is_cubes_mesh::dynamic::DynamicMeshTypes for WgpuMt {

/// Entry point for [`wgpu`] rendering. Construct this and hand it the [`wgpu::Surface`]
/// to draw on.
//#[derive(Debug)]
#[allow(missing_debug_implementations)] // TODO: wgpu::util::StagingBelt isn't Debug (will be in the future)
#[derive(Debug)]
pub struct SurfaceRenderer<I> {
surface: wgpu::Surface,
device: Arc<wgpu::Device>,
Expand Down

0 comments on commit 1314375

Please sign in to comment.