30cc299ed6
This patch adds proper handling for SurfaceErrors that may happen when calling get_current_texture(), instead of always panicking. This fixes random crashes, e.g. when the GPU took too long to render a frame, or when the surface has unexpectedly changed. |
||
---|---|---|
.. | ||
backends | ||
gui | ||
preferences | ||
app.rs | ||
backends.rs | ||
cli.rs | ||
custom_event.rs | ||
gui.rs | ||
log.rs | ||
main.rs | ||
player.rs | ||
preferences.rs | ||
util.rs |