Added __screenshot feature for eframe in viewports example

This commit is contained in:
Konkitoman
2023-09-05 13:09:17 +03:00
parent 39a57f1363
commit 155d48abd1
+3 -1
View File
@@ -11,5 +11,7 @@ publish = false
wgpu = ["eframe/wgpu"]
[dependencies]
eframe = { path = "../../crates/eframe" }
eframe = { path = "../../crates/eframe", features = [
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
] }
env_logger = "0.10"