From 8525f8d1f9f8ad3ea234ff485652f4f90acc3f56 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 25 Feb 2025 19:50:36 -0500 Subject: Update --- crates/renderer/src/assets.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/renderer/src/assets.rs') diff --git a/crates/renderer/src/assets.rs b/crates/renderer/src/assets.rs index 9a0cefc..a06aabe 100644 --- a/crates/renderer/src/assets.rs +++ b/crates/renderer/src/assets.rs @@ -5,6 +5,7 @@ pub struct Assets { pub shader_flat: shader::Shader, pub shader_scene: shader::Shader, pub mesh_square: mesh::Mesh, + pub texture_adblock: texture::Texture, } impl Assets { @@ -22,6 +23,7 @@ impl Assets { include_str!("assets/shaders/scene/frag.glsl") ), mesh_square: mesh::Mesh::from_obj(ctx, include_bytes!("assets/meshes/square.obj")), + texture_adblock: texture::Texture::new(ctx, include_bytes!("assets/textures/adblock.png")), } } } -- cgit v1.2.3