Skip to content

Commit

Permalink
Merge branch 'main' into debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Jul 19, 2024
2 parents f13d39a + 9f36d1d commit 91322fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions blade-graphics/src/gles/egl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl Context {
egl1_5
.get_platform_display(
EGL_PLATFORM_SURFACELESS_MESA,
std::ptr::null_mut(),
ptr::null_mut(),
&[egl::ATTRIB_NONE],
)
.unwrap()
Expand Down Expand Up @@ -422,9 +422,7 @@ impl Context {
}
}
let alpha = if config.transparent {
attributes.push(egl::TRANSPARENT_TYPE);
attributes.push(egl::TRANSPARENT_RGB);
crate::AlphaMode::PostMultiplied //TODO: verify
crate::AlphaMode::PreMultiplied //TODO: verify
} else {
crate::AlphaMode::Ignored
};
Expand Down

0 comments on commit 91322fd

Please sign in to comment.