Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eframe: window transparency doesn't work with wgpu #2680

Closed
Tracked by #1094
emilk opened this issue Feb 5, 2023 · 0 comments · Fixed by #2684
Closed
Tracked by #1094

eframe: window transparency doesn't work with wgpu #2680

emilk opened this issue Feb 5, 2023 · 0 comments · Fixed by #2684
Labels
bug Something is broken egui-wgpu visuals Renderings / graphics releated

Comments

@emilk
Copy link
Owner

emilk commented Feb 5, 2023

On my Mac, the eframe::NativeOptions::transparent option doesn't do anything.

Repro:

--- a/examples/custom_window_frame/Cargo.toml
+++ b/examples/custom_window_frame/Cargo.toml
@@ -9,6 +9,8 @@ publish = false
 
 
 [dependencies]
-eframe = { path = "../../crates/eframe", features = [
-    "__screenshot", # __screenshot is so we can dump a ascreenshot using EFRAME_SCREENSHOT_TO
+eframe = { path = "../../crates/eframe", default-features = false, features = [
+    "default_fonts",
+    "wgpu",
 ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken egui-wgpu visuals Renderings / graphics releated
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant