Skip to content

Commit

Permalink
element: make PixelShaderElement::alpha return self.alpha (#1421)
Browse files Browse the repository at this point in the history
element: make `PixelShaderElement::alpha` returns `self.alpha`
  • Loading branch information
nferhat authored May 16, 2024
1 parent 23417c6 commit 271fbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/renderer/gles/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl Element for PixelShaderElement {
}

fn alpha(&self) -> f32 {
1.0
self.alpha
}

fn kind(&self) -> Kind {
Expand Down

0 comments on commit 271fbc0

Please sign in to comment.