From 2116a3ba85673e3e30dc637a2cf2e20d1c4aa710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Thu, 12 Sep 2024 22:46:42 +0200 Subject: [PATCH] Extend the migration guide regarding the sf::Text constructor change --- migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/migration.md b/migration.md index 469876a14..696c5d557 100644 --- a/migration.md +++ b/migration.md @@ -425,6 +425,7 @@ SFML 3 capitalizes the `A` of `aliasing` for all the APIs. SFML 3 includes various smaller changes that ought to be mentioned. +* Changed the parameter order of the `sf::Text` constructor, so that the provided font is always the first parameter * Reverted to default value of CMake's `BUILD_SHARED_LIBS` which means SFML now builds static libraries by default * Changed `sf::String` interface to use `std::u16string` and `std::u32string` * Removed `sf::ContextSettings` constructor in favor of aggregate initialization