Update SDL3

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

View File

@@ -307,6 +307,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;
}