mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
[rs] Merge #618
618: Removed unusued Uniform struct in texture-arrays example. r=cwfitzgerald a=Stygeon The Uniform struct in the texture-arrays example is unused. Co-authored-by: Stygeon <denrellum@gmail.com>
This commit is contained in:
commit
92e75723d5
1 file changed
-6
@@ -13,12 +13,6 @@ struct Vertex {
|
||||
_index: u32,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Pod, Zeroable)]
|
||||
struct Uniform {
|
||||
index: u32,
|
||||
}
|
||||
|
||||
fn vertex(pos: [i8; 2], tc: [i8; 2], index: i8) -> Vertex {
|
||||
Vertex {
|
||||
_pos: [pos[0] as f32, pos[1] as f32],
|
||||
|
||||
Reference in new issue
Block a user