Skip to content

Commit

Permalink
add array size to Windows textures
Browse files Browse the repository at this point in the history
  • Loading branch information
nblockbuster committed Jan 12, 2025
1 parent c4be243 commit 98dd266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand All @@ -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,
})
}
Expand Down

0 comments on commit 98dd266

Please sign in to comment.