mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-08 07:24:28 +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().