mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
1f15edcd22
When falling back to GPU 2D backend, the default_component remains set
to VirglRenderer. When Rutabaga suspend/resume feature is invoked later,
the default_component is checked and a RutabagaError::InvalidComponent
is thrown because it is not supported by the VirglRenderer backend.
This change sets the default_component to 2D whenever the fallback is
taken.
BUG=b:380180766
TEST=cargo build --features gpu,virgl_renderer
Fixes:
|
||
---|---|---|
.. | ||
ffi | ||
kumquat | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE | ||
OWNERS |