Added events for dynamically connecting and disconnecting displays, with an iOS implementation

This commit is contained in:
Sam Lantinga
2020-10-08 16:42:20 -07:00
parent cd703b5628
commit 76980e30f2
20 changed files with 91 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ videoInit(_THIS)
SDL_zero(display);
if (SDL_AddVideoDisplay(&display) < 0) {
if (SDL_AddVideoDisplay(&display, SDL_FALSE) < 0) {
return -1;
}