Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag.
This commit is contained in:
parent
78c0189824
commit
05e238e9ed
4 changed files with 168 additions and 60 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue