From 98dd2662c60ab2bee0df3fccbe2d6d750690657b Mon Sep 17 00:00:00 2001 From: nblockbuster <34419030+nblockbuster@users.noreply.github.com> Date: Sun, 12 Jan 2025 18:16:20 -0500 Subject: [PATCH] add array size to Windows textures --- src/gui/texture.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/texture.rs b/src/gui/texture.rs index b397c52..1462b6e 100644 --- a/src/gui/texture.rs +++ b/src/gui/texture.rs @@ -462,7 +462,7 @@ impl Texture { height: texture.height as u32, depth: texture.depth as u32, array_size: texture.array_size as u32, - premultiply_alpha: false, + premultiply_alpha: false, }) } PackagePlatform::Win64 => { @@ -485,6 +485,7 @@ impl Texture { width: texture.width as u32, height: texture.height as u32, depth: texture.depth as u32, + array_size: texture.array_size as u32, premultiply_alpha: false, }) }