This commit is contained in:
2026-05-11 13:55:59 +02:00
committed by kbz_8
parent cfc3fccac4
commit 8b952f14c5
+1 -1
View File
@@ -119,7 +119,7 @@ namespace mlx
Vec2ui SDLManager::GetVulkanDrawableSize(Handle window) const noexcept
{
Vec2i extent;
SDL_GetWindowSizeInPixels(static_cast<Internal::WindowInfos*>(window)->window, &extent.x, &extent.y);
SDL_GetWindowSize(static_cast<Internal::WindowInfos*>(window)->window, &extent.x, &extent.y);
return Vec2ui{ extent };
}