SIGN IN SIGN UP

Simplify texture failure handling

When the scrcpy window is minimized on Windows with D3D9, texture
creation and updates fail.

As a workaround, a mechanism was implemented to reattempt applying the
requested changes.

Since SDL3 defaults to the D3D11 backend, remove this workaround,
which adds a lot of complexity for a backend that should almost never
be used.

However, do not close scrcpy when texture creation or updates fail; only
that specific rendering should fail.

Refs SDL/#7651 <https://github.com/libsdl-org/SDL/issues/7651>
Refs #3947 <https://github.com/Genymobile/scrcpy/issues/3947>
Refs 6298ef095ffa9a2cdd2b4d245e71280743b5a59e
PR #6651 <https://github.com/Genymobile/scrcpy/pull/6651>
R
Romain Vimont committed
42e2264d67934a5949856a229312a3c3d08f9579
Parent: c497718