Skip to content

Commit

Permalink
Merge branch 'bevyengine:main' into text-wrap-override
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe authored Jun 26, 2023
2 parents 3eb7a24 + bec299f commit daa4cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ui/src/render/ui.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var<uniform> view: View;
struct VertexOutput {
@location(0) uv: vec2<f32>,
@location(1) color: vec4<f32>,
@location(3) mode: u32,
@location(3) @interpolate(flat) mode: u32,
@builtin(position) position: vec4<f32>,
};

Expand Down Expand Up @@ -39,7 +39,7 @@ fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
if in.mode == TEXTURED_QUAD {
color = in.color * color;
} else {
color = in.color;
color = in.color;
}
return color;
}

0 comments on commit daa4cd2

Please sign in to comment.