Skip to content

Fix alpha mode misconfiguration in wgpu renderer#2231

Merged
hecrj merged 5 commits into
iced-rs:masterfrom
Koranir:transparency-fix
Feb 9, 2024
Merged

Fix alpha mode misconfiguration in wgpu renderer#2231
hecrj merged 5 commits into
iced-rs:masterfrom
Koranir:transparency-fix

Conversation

@Koranir

@Koranir Koranir commented Feb 3, 2024

Copy link
Copy Markdown
Contributor

Fixes #2087

Code pretty much copied from Wezterm.

Also adds a transparency toggle to the gradient example.

Tested on Windows 11 and Hyprland

@hecrj hecrj added bug Something isn't working rendering shell wgpu fix labels Feb 3, 2024
@hecrj hecrj added this to the 0.12 milestone Feb 3, 2024

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks reasonable 🎉

@hecrj hecrj enabled auto-merge February 9, 2024 23:41
@hecrj hecrj merged commit c635290 into iced-rs:master Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transparent windows aren't supported in WGPU due to the misconfiguration of CompositeAlphaMode.

2 participants