mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-02 20:44:27 +01:00
SDL_CreateTexture() is called both during initialization and on frame size change. To avoid inconsistent changes to arguments value, factorize them to a single function create_texture().