mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-06 14:34:39 +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().