Platform unsupported PresentMode
in create_surface
can cause unrecoverable panic, with no fallback behavior
#721
Labels
enhancement
New feature or request
If you provide a
PresentMode
inRenderContext::create_surface
which is not supported by the platform (e.g.Immediate
orFifoRelaxed
while on Wayland), it will panic while configuring the surface. The only current way to work around this with released Vello is to write your own version of portions of util.It may be more helpful to have safe fallback (probably AutoVsync) here, since this is meant to be a convenience function.
The text was updated successfully, but these errors were encountered: