Extend the migration guide regarding the sf::Text constructor change

This commit is contained in:
Lukas Dürrenberger 2024-09-12 22:46:42 +02:00 committed by Chris Thrasher
parent eeb43e4747
commit 2116a3ba85

View File

@ -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. 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 * 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` * Changed `sf::String` interface to use `std::u16string` and `std::u32string`
* Removed `sf::ContextSettings` constructor in favor of aggregate initialization * Removed `sf::ContextSettings` constructor in favor of aggregate initialization