From 07b614a7749051634205805049243b4b04d552bb Mon Sep 17 00:00:00 2001 From: Fedor Logachev Date: Mon, 1 Jul 2024 20:59:47 -0600 Subject: [PATCH] graphics: Debug impl for Uniform* --- src/graphics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics.rs b/src/graphics.rs index 8b737375..138dd207 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -57,14 +57,14 @@ impl UniformType { } } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct UniformDesc { pub name: String, pub uniform_type: UniformType, pub array_count: usize, } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct UniformBlockLayout { pub uniforms: Vec, }