Squashed commit of the following: commit 260976b10e3a54b253768d71e5e47c51b976c25c Author: Niklas Korz <niklas@niklaskorz.de> Date: Mon Jan 11 20:23:31 2021 +0100 Formatting commit e3f837e1b6a81c8c7a9566ba6a2c6dd8adfbbde7 Author: Niklas Korz <niklas@niklaskorz.de> Date: Mon Jan 11 20:20:37 2021 +0100 Update examples commit b0774c0aa56fbdfe741dd6c0e86d55b8c6b42de3 Author: Niklas Korz <niklas@niklaskorz.de> Date: Mon Jan 11 19:31:29 2021 +0100 Use adapter.get_swap_chain_preferred_format