Drawing to ExtractedWindow swap_chain #9163
Unanswered
flash-freezing-lava
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After updating to bevy 0.11.0, I get an
wgpu error: Validation Error
with the following cause:This issue seems to be, that bevy_egui assumes
ExtractedWindow::swap_chain_texture_view
to have the formatExtractedWindow::swap_chain_texture_format
when creating the render pipeline. But thebevy_render
crate now adds srgb and thereby has different formats forswap_chain_texture_view
andswap_chain_texture_format
.bevy/crates/bevy_render/src/view/window.rs
Lines 79 to 85 in 8ba9571
Is there a way to obtain the format used by
swap_chain_texture_view
or how could a render pipeline set its color attachment when drawing to a window swap chain?Beta Was this translation helpful? Give feedback.
All reactions