Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag.

This commit is contained in:
Bingus 2023-06-08 10:10:26 -07:00
parent 78c0189824
commit 05e238e9ed
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
4 changed files with 168 additions and 60 deletions

View file

@ -134,7 +134,7 @@ impl Application for Example {
screenshot.size.height,
screenshot.clone(),
))
.content_fit(ContentFit::ScaleDown)
.content_fit(ContentFit::Contain)
.width(Length::Fill)
.height(Length::Fill)
.into()