Moving a window between hidpi and non-hidpi monitors is not correctly handled by SDL. Detect when this happens, and recreate the renderer. Fixes <https://github.com/Genymobile/scrcpy/issues/15>. Signed-off-by: Romain Vimont <rom@rom1v.com>
Moving a window between hidpi and non-hidpi monitors is not correctly handled by SDL. Detect when this happens, and recreate the renderer. Fixes <https://github.com/Genymobile/scrcpy/issues/15>. Signed-off-by: Romain Vimont <rom@rom1v.com>