Update SDL3

This commit is contained in:
2024-08-07 21:05:59 +03:00
parent 101e6d2ca7
commit b6e0d5e266
41 changed files with 1211 additions and 684 deletions

View File

@@ -276,6 +276,7 @@ Rectangle SDLPlatform::GetVirtualDesktopBounds()
SDL_GetDisplayBounds(display, &rect);
bounds = Rectangle::Union(bounds, Rectangle(static_cast<float>(rect.x), static_cast<float>(rect.y), static_cast<float>(rect.w), static_cast<float>(rect.h)));
}
SDL_free((void*)displays);
return bounds;
}