Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Releases: SFML/SFML
SFML 3.0.2
A few bugfixes and some build configuration enhancements, including automated release builds.
Changelog
General
- Automatic release CI builds (#3538)
- Documentation improvements (#3547,#3548)
- GitHub Actions updates (#3517,#3536)
- CMake adjustments (#3504,#3510,#3511)
System
Bugfixes
- Add explicit cast for charN_t conversion for Clang 21 (#3571)
Window
Bugfixes
- [Android] Fix issue with Re-creation of Windows on Android (#3507)
Graphics
Bugfixes
- Assert positive size and in-bounds position for copy area (#3539,#3541)
- [Android] Fixed normalized texture coordinates when NPOT textures aren't supported (#3460,#3461)
Audio
Bugfixes
Contributors
We're thankful to everyone who helped with this release! 🎉
Assets10
Uh oh!
There was an error while loading.Please reload this page.
SFML 3.0.1
We're happy to release a number of bug fixes for SFML 3!
Changelog
General
- Improved SFML 3 migration guide (#3464,#3478,#3480)
- Improved diagnostics when incorrect library type is found by find_package (#3368)
- Improved diagnostics when C++ language version is too low (#3383)
- Fixed build errors when compiling in C++20 mode (#3394)
- [iOS] Fixed iOS debug build (#3427)
- Removed
-ssuffix for sfml-main (#3431) - Prevented recreation of UDev target which broke package manager workflows (#3450)
- Fixed bug with installing pkgconfig files (#3451)
- Fixed CMake 4 build error (#3462)
- [macOS] Fixed C++ language version in Xcode template (#3463)
System
Bugfixes
- [Windows] Silenced C4275 warning for
sf::Exception(#3405) - Fixed printing Unicode filepaths when error occurs (#3407)
Window
Bugfixes
- Improved
sf::Event::visitandsf::WindowBase::handleEvents(#3399) - [Windows] Fixed calculating window size with a menu or an extended style (#3448)
- [Windows] Fixed crash when constructing a window from a
sf::WindowHandle(#3469)
Graphics
Bugfixes
- Fixed
sf::Imagesupport for Unicode filenames (#3403) - Ensured
sf::Imageremains unchanged after an unsuccessful load (#3409) - Fixed opening
sf::Fontfrom non-ASCII paths (#3422) - [Android] Fixed crash when loading missing resources (#3476)
Network
Bugfixes
- Fixed comments and address ordering in IpAddress::getLocalAddress (#3428)
- Fixed unsigned overflow in
sf::Packetsize check (#3441)
Contributors
Thank you! 🎉
Assets10
Uh oh!
There was an error while loading.Please reload this page.
SFML 3.0.0
We are very excited to announce the release of SFML 3! 🎉
After close to 12 years since the last major version of SFML came up, it's time for an upgrade!
Three years in the making, withover 1'100 commits, 41 new contributors, and a lot of time invested, we want to thank each and everyone who helped make SFML 3 a reality.
A massive thank you to@ChrisThrasher, who relentlessly pushed SFML 3 forward and has by far contributed the most time and effort-wise, with over 500 pull requests to his name alone! A special thank you also to@vittorioromeo for laying the foundation early onto which SFML 3 was built. 🙌
Highlights
- SFML hasfinally been updated to support and use C++17 ⚙️
- The test suite has been massively expanded to 57% code coverage 🧪
- OpenAL has been replaced withminiaudio 🔊
- New and improved event handling APIs ⌨️
- Scissor and stencil testing 🖼️
- And more...
Seethe changelog for more details.
We have also overhauled the website, which next to being mobile friendlier should allow us to update the website more easily.
Migration
SFML 3 is a new major version and as suchbreaking changes have been made.
To ease the pain of migration, we've written an extensive migration guide.
In the meantime we've alsoupdated all tutorials and have a pre-releaseAPI documentation available.
Social
Contributors
Many thanks to everyone who contributed!
- @eXpl0it3r
- @vittorioromeo
- @Si1ver
- @pparuzel
- @ChrisThrasher
- @kimci86
- @binary1248
- @Bromeon
- @roughbits01
- @friendlyanon
- @Nadpher
- @CosminPerRam
- @Coder-Rahul-Y
- @Bambo-Borris
- @Baardi
- @Marioalexsan
- @LDprg
- @PierceLBrooks
- @JonnyPtn
- @Jim-Marsden
- @ChristianIvicevic
- @fuzzdistor
- @benjamintli
- @HelloShiv
- @Bqleine
- @gnawme
- @rtkid-nt
- @tverrbjelke
- @litelawliet
- @OURABIG
- @metaquarx
- @123navyblue
- @alirezafour
- @BlackyDrum
- @Rosme
- @dogunbound
- @TedLyngmo
- @abd-ennour
- @MetGang
- @erikbolumburu11
- @JohelEGP
- @texus
- @lapinozz
- @cschreib
- @elijahfhopp
- @Lorenzooone
- @andr3i-f
- @trustytrojan
- @alexv-ds
- @copyrat90
- @Zombieschannel
- @AlexAUT
- @ZXShady
- @pinsvin00
- @rniii
- @caramelli
- @mickes27
- @mickelson
- @acsbendi
- @jcowgill
Assets12
Uh oh!
There was an error while loading.Please reload this page.
3.0.0-rc.2
We're happy to announce the second Release Candidate for SFML 3! 🎉
Three years in the making, withover 1'100 commits, 41 new contributors, and a lot of time invested, we want to thank each and everyone who helped SFML 3 get this far.
A special thanks tovittorioromeo for laying the foundation early on and a massive thank you toChrisThrasher for relentlessly pushing SFML 3 forward - he currently sits at over 500 pull requests alone! 🙌
With the second release candidate we've majorlyreworked our dependency handling. SFML will no longer ship third-party binaries in its source code distribution! Instead, unless the user decides to use system-wide available dependencies, SFML will fetch and build its dependencies on-the-fly by utilizing CMake'sFetchContent.
If everything goes to plan, this will be the final Release Candidate, as all the features and breaking changes have been merged and the open issues are mostly about documentation and minor alignments.
We Need You! 🫵
We need your help to test this release candidate!
As the dependency handling was changed, it would help greatly, if you could report any issues, crashes or just general feedback, so we have a chance to fix or clarify as many things before the release.
It's highly appreciated and will help us make SFML 3 even more stable!
Reach out:GitHub Issues /Discord /Forum /Bluesky /Twitter /Fediverse
Highlights
- SFML hasfinally been updated to support and use C++17 ⚙️
- The test suite has been massively expanded to 57% code coverage 🧪
- OpenAL has been replaced withminiaudio 🔊
- New and improved event handling APIs ⌨️
- Scissor and stencil testing 🖼️
- And more...
Seethe changelog for more details.
Migration
SFML 3 is a new major version and as suchbreaking changes have been made.
To ease the pain of migration, we've written an extensive migration guide.
If you think, something is wrong or could be improved, please reach out onDiscord or leavea comment on the dedicated issue. The more feedback we get, the more we can improve the guide.
In the meantime we've alsoupdated all tutorials and have a pre-releaseAPI documentation available - you also get a sneak peek at the new website design & layout.
Known Issues
- No pre-built binaries are provided at this point
- The very latest changes aren't reflected in the changelog
Assets2
Uh oh!
There was an error while loading.Please reload this page.
SFML 2.6.2
Another collection of bugfixes for SFML 2.
All the fixes listed here will be included in the SFML 3.0.0 release.
Subsequent SFML 2.6.x fixes will have to either go to SFML 3.0.x or SFML 3.1.x.
Changelog
General
- Ensure GNUInstallDirs cache vars are included before first used (#2778,#2779)
- [macOS] Fix incorrect variable expansion (#2780)
- Replace deprecated CMake command
exec_program(#2888) - Fix Doxygen Generation (#2986,#2812,#2813)
- [iOS] Use built-in iOS support for CMake (#3113)
- [Windows] Fix
SFML_USE_STATIC_STD_LIBSbehavior (#3131) - [Windows] Add support for UCRT MinGW (#2289,#2821,#3054,#3115)
- [Windows] Add support for Windows ARM64 (#3111,#3176)
- Fix Nix pkg-config support (#2835)
Window
Bugfixes
- Fix joystickButton being used for Joystick(Dis)Connected event (#2957)
- [Windows] Close the clipboard if we fail to empty it (#3043)
- [Android] Remove use of deprecated
ALooper_pollAll(#3181,#3189) - [macOS] Fix how macOS fullscreen video modes are detected (#2300,#3151)
- [macOS] Prevent unnecessary macOS input monitoring permission prompts (#2843,#3235)
- [Linux] Fix DRM mode setting to use SFML window dimensions (#3136)
- [Android] Fix wrong fullscreen resolution (#1349,#1559,#2396)
Graphics
Bugfixes
- [Windows] Fix MSVC warning about uninitialized
sf::Glyphmembers (#2929) - Prevent crash when setting empty uniform array (#3185,#3186)
Audio
Bugfixes
Contributors
Thank you! 🎉
Assets14
Uh oh!
There was an error while loading.Please reload this page.
3.0.0-rc.1
We're very proud to announce the first Release Candidate for SFML 3! 🎉
Getting closer to three years in the making, withover 1'000 commits, 38 new contributors, and a lot of time invested, we want to thank each and everyone who helped SFML 3 get this far.
A special thanks tovittorioromeo for laying the foundation early on andChrisThrasher for relentlessly pushing things forward - currently sits at over 500 pull requests alone! 🙌
We plan to create at least another release candidate within the new few weeks and hope to have SFML 3 fully release before the end of 2024!
Additionally, we plan to release SFML 2.6.2 before SFML 3, as to incorporate all the fixes.
At lot of work is also being done in parallel to getCSFML 3 andSFML.Net 3 updated and hopefully we can release them nearly at the same time.
We Need You!
We need your 🫵 help to test this release candidate!
Please report any issues, crashes, migration struggles, etc. or just general feedback.
It's highly appreciated and will help us make SFML 3 even more stable!
Reach out:GitHub Issues /Discord /Forum /Twitter /Fediverse
Highlights
- SFML hasfinally been updated to support and use C++17 ⚙️
- The test suite has been massively expanded to 57% code coverage 🧪
- OpenAL has been replaced withminiaudio 🔊
- New and improved event handling APIs ⌨️
- Scissor and stencil testing 🖼️
- And more...
Migration
SFML 3 is a new major version and as suchbreaking changes have been made.
To ease the pain of migration, we've written an extensive migration guide.
If you think, something is wrong or could be improved, please reach out onDiscord or leavea comment on the dedicated issue. The more feedback we get, the more we can improve the guide.
Known Issues
- The website, including the tutorials and API documentation, have not been updated yet
- The changelog has not been written yet, if you want, you can have a look atthe full change set
- No pre-built binaries have been provided at this point
- The window are missing some
create()function overloads, see#3227 - CMake will currently fail to configure on Windows ARM64, see#3229
Assets2
Uh oh!
There was an error while loading.Please reload this page.
SFML 2.6.1
A small bugfix update to the massive SFML 2.6.0 release from earlier this year.
Largely addressing issues in the build process, but also fixing a few issues in specific, less tested scenarios, see the full changelog below.
Note again that SFML 2 will only see fixes for critical issues as patch releases (e.g. 2.6.2), but all the other development efforts are focused on SFML 3. For more details and future discussions, see theRoadmap.
Changelog
Also available on the website:https://www.sfml-dev.org/changelog.php#sfml-2.6.1
General
- Stop overwriting CMAKE_MODULE_PATH (#2577)
- Loosen restrictions on unknown compilers (#2585)
- Fix CI deprecation warnings (#2624)
- Fix unused compiler flag error in Clang (#2625)
- Disable warnings as errors by default (#2680)
Window
Bugfixes
- Fix macOS resize event bug (#2618)
- Skip ClientMessage events with other window ID unless it is for IM (#2651)
Graphics
Bugfixes
- Ensure OpenGL extensions are loaded before querying maximum texture size (#2603)
- Fixed RenderTexture being upside down on Android (#2730)
- Fix warnings in Linux OpenGL ES codepaths (#2747)
Audio
Bugfixes
- Remove use of C++11 header (#2591)
Contributors
Thank you! 🎉
Assets14
Uh oh!
There was an error while loading.Please reload this page.
SFML 2.6.0
After 5.5 years, we're proud to announce a new and massive SFML release. Over the past few years a lot has changed code-wise, in the team, in the community, and also with the roadmap of SFML. We would like to thank every single one of our contributors, who helpedmake this release - check the lengthy list at the bottom. Thank You!
It's important to note, that this will bethe final SFML 2.x release. We will provide fixes for critical issues as patch releases (e.g. 2.6.1), but all the other development efforts are focused on SFML 3. For more details and future discussions, see theRoadmap.
Highlights
- ⌨️ Support for Scancodes
- 🗔 Create windows without OpenGL context
- 🪟 Create windows with a Vulkan context
- 💻 SFML supports ARM64 on macOS, i.e. M1 and M2 chipsets
- 🧪 Unit testing foundation has been created
Changelog
Also available on the website:https://www.sfml-dev.org/changelog.php#sfml-2.6.0
General
- Various CMake enhancements (#1477,#1509,#1561,#1563,#1576,#1624,#1739,#1960)
- Small documentation changes (#1519,#1608,#1628,#1657,#1658,#1652,#1665,#1697,#1774,#1776,#1853,#2038,#2083,#2271)
- Various casting fixes (#1499,#1553,#2040,#2222,#2297,#2298,#2323,#2576)
- Add unit testing foundation to SFML (#623,#1475)
- Changed Doxygen single-line comment format (#1622,#1623)
- Add support for GitHub Actions (#1716,#1751,#2058,#2114)
- Add support for NetBSD (#1535,#1723)
- Slight increase performance and code refactor (#1732)
- Use public domain resources for examples (#1627,#1718)
- Add support for CPack and NSIS with CPack (#1114)
- Enable support for unity builds (#1787,#1788)
- Various clean ups (#1848,#1849,#2219,#2220,#2221,#2241)
- Enable and enforce a large set of warnings (#1785,#1791,#1846,#1906,#1908,#2048,#2066,#2073,#2094,#2100,#2106,#2142,#2217,#2218)
- Enable search box for the Doxygen documentation (#1841,#1940,#2173,#2477)
- Enhancements of the CI pipeline (#2046,#2263,#2294)
- Fix header include paths in Doxygen documentation (#2512)
- Fix compilation for GCC 13.1.1 (#2553)
- [macOS] Add support for arm64 on macOS (#1749,#1750,#1761,#1843,#1868)
- [iOS] Build examples for iOS as well (#1418,#1520,#1522)
- [Windows] Properly support Clang on Windows (#1612,#1720,#1784,#1795)
- [Windows] Link legacy stdio definitions on newer Visual Studio versions (#1712)
- [Windows] Provide additional metadata through resource files (#1419,#1779)
- [Android] Add 64-bits libraries for Android (#1648,#2165)
- [Android] Adjust NDK search path to support newer NDKs (#1575)
- [macOS] Copy logo.png to Resources in Cocoa example (#1818)
- [Windows] Add support for Visual Studio 2022 (#1819)
- [Android] Build sfml-main with position-independent code (#2393,#2397)
System
Features
- [Android] Simplify management of ActivityStates (#1845)
Bugfixes
Window
Features
- Allow creation of a window without an OpenGL context (#1484)
- Dynamically load EGL and GLES extensions as is done for desktop GL (#1539,#1577,#1603,#2157,#2160)
- Add support for creating Vulkan window surfaces (#1557)
- Scancode support (#1235,#1400,#1596,#2009,#2096,#2148,#2243)
- [Linux] Add support for colored cursors in Unix implementation (#1693,#1694)
- [Linux] Added support for directional arrow resize cursors on Linux (#1688)
- [Linux] Add support for X Input Method (#1840,#1850,#2191,#2242)
- [Linux] Add support for Direct Rendering Mode (DRM) / Kernel Mode Setting (KMS) (#2029,#2146,#2246,#2259,#2400)
- [Windows] Use monitor aware DPI scaling on Windows (#2268)
Bugfixes
- Fix
sf::Context::getActiveContextto stop returning inactive contexts (#1794) - [Linux] Fixed crash with X11 when
$DISPLAYis not0.0(#724,#1504) - [Android] Ensure
setActive(false)is called before the surface is destroyed in EglContext (#1530,#1531) - [Android] Fixed EGL incorrectly being passed the anti-aliasing level as
EGL_SAMPLE_BUFFERSinstead ofEGL_SAMPLES(#1533,#1534) - [Linux] Fix OpenGL extensions not loading in a specific Linux VM configuration (#1495,#1543)
- [Windows] Fixed potential buffer overrun in Win32 OpenGL error handling (#1245,#1246)
- [Windows] Fix no longer hides cursor when hovering title bar (#1569,#1570)
- [macOS] Initialize
m_contextcorrectly inSFContextconstructors (#1582,#1610) - [Android] Fixed navigation bar not being entirely hidden on Android (#1538,#1554)
- [Windows] Make the process to set a DirectInput device's axis mode more conservative (#1634)
- [Linux] Fix an issue where the cursor wasn't changed instantaneously (#1686)
- [Windows] Fix issue where joystick/controller POV values were not set correctly for DirectInput devices (#1719)
- [Android] Fix warning: control may reach end of non-void function (#1713)
- [Windows] Fixed Win32 requestFocus in multi-threaded environment (#1600)
- [Android] Fix issue where
EGL_DEFAULT_DISPLAYisNULL(#1639,#1740) - [macOS] When initializing an OpenGL view with an existing window, call
finishInit(#1759,#1760) - [macOS] Fix potential crash when changing cursor (#1721,#1736)
- [Android] Fixed
SIGSEGVafter pressing back button on Android (#531,#1580) - [Android] Fix issue with
waitEventand an OpenGL Context (#1532,#1790) - [iOS] Fix issue where OpenGL ES libraries couldn't be located (#1687,#1804)
- [macOS] Fix issue where window wouldn't be closing because of events still being processed (#1581,#1814)
- [Windows] Preserve the drop shadow for system cursors on Windows (#1731)
- [Windows] Use GetWindowLongPtr for better overall compatibility (#1806)
- [macOS] Ensure proper nesting of autorelease pools on OS X (#1549,#1820)
- [Linux] Fix typo in window construction (#1951,#1953)
- [Linux] Prevent crash in Unix JoystickImpl with too many file descriptors (#1900,#1941)
Graphics
Features
- Allow re-creation of the shared context as a core context if the user requests a core profile context (#1434,#1443)
- Added
getPosition()andgetSize()tosf::Rect(#1047) - Added
Font::hasGlyphfield (#1644) - Implemented saveToMemory and saveImageToMemory (#988,#1597,#1669)
- Implement smoothing for fonts (#1690,#2064,#2072)
- Add Min and Max blend modes (#1710,#1756)
- Support geometry shaders when a OpenGL 3.2+ context is available (#1768,#1769,#1786,#1789)
- Align encodings for new line characters (#2107)
- Update stb_image to 2.28, thus adding support for more image formats (#1712,#2322,#2464)
- [macOS] Improve high DPI handling on macOS (#1817)
Bugfixes
- Fixed missing checks for empty vertex arrays when updating the vertex buffers in
sf::Text(#1558,#1560) - Remove unnecessary
glFlush()insf::Texture(#1609) - Fixed text rendering artifacts on Radeon cards (#1568)
- Force OpenGL states to be reset when RenderTarget detects that a new context has to be tracked (#1625,#1630)
- Don't set default Texture Rect of a
sf::Spritebefore the user provided one (#1725) - Added auto hinting compensation to fix too wide gaps between small glyphs (#1745,#1746)
- Fix support for sRGB color space in
sf::RenderTexture(#1092,#1757) - Fix incorrect glyph rect for text outline (#1826,#1827,#1836)
- Fix alpha value calculation for semi-transparent pixels on fully transparent pixels with
sf::Image::copy()(#1993) - Fix getLocalBounds inconsistency for
sf::Text(#2129,#2132) - [iOS] Ensure the proper default framebuffer is bound when activating a RenderWindow (#1471,#1487)
Audio
Features
- Allow explicitly closing
sf::InputSoundFile(#1516) - Replace use of auto_ptr for future-proofing (#1546)
- Adjustable processing interval in
sf::SoundStream(#1517,#1666) - Fix
sf::Musicsometimes failing to loop after seeking (#1707) - Add MP3 decoding support (#1232,#1796,#1851)
Bugfixes
- Rename FindVorbis -> FindVORBIS, for consistency with exported variables (#1626,#1629)
- Fix naming of VORBIS in
SFMLConfigDependencies.cmake.in(#1636,#1637) - Fixed copy assign operator in
sf::Soundso it checks for self-assignment (#1744) - Fix SoundStream::play to restart the sound if it was played before (#2175)
Networking
Features
Bugfixes
Contributors
Thank You! 🎉
- @1aam2am1
- @acsbendi
- @AMDmi3
- @assematt
- @b0guslaw
- @binary1248
- @bloodsword
- @Bromeon
- @Ceylo
- @ChrisThrasher
- @Coder-Rahul-Y
- @cschreib
- @czateusz
- @danieljpetersen
- @DanielRabl
- @devnexen
- @dogunbound
- @DrMcCoy
- @DW-Ant
- @Edgaru089
- @eigenbom
- @eliasdaler
- @EpicCoder
- @Eren121
- @eXpl0it3r
- @fgallegosalido
- @Franckltung
- @GermanAizek
- @hanetzer
- @hobby8
- @Ironbell
- @jcowgill
- @jeffswenson
- @jhlgns
- @jkeller51
- @JonnyPtn
- @jqdg
- @kimci86
- @lieff
- @lioPixiumDigital
- @mantognini
- @MarioLiebisch
- @Marukyu
- @mickelson
- @Milerius
- @Mozzg
- @mrzeusthecoder
- @nedoxff
- @oomek
- @PKEuS
- @pmachapman
- @reconndev
- @rewrking
- @Sakarah
- @sevagh
- @SGauvin
- @ShadowsFriend
- @Si1ver
- @spacechase0
- @StrikerX3
- @substring
- @swordfatih
- @TankOs
- @texus
- @therocode
- @ThisKwasior
- @Unarelith
- @Unarelith
- @utilForever
- @ventsin
- @vfjpl
- @vittorioromeo
- @Waldegger
- @zackthehuman
- @zakinadhif
Assets14
Uh oh!
There was an error while loading.Please reload this page.
2.5.1
Changelog
SFML 2.5.1
Also available on the website:https://www.sfml-dev.org/changelog.php#sfml-2.5.1
General
- Various CMake fixes (#1414,#1416,#1436,#1439,#1467,#1470)
- Fixed the installation of pkg-config files (#1466)
- Fixed two conversion warnings (#1454)
- [Android] Fixes all symbols in sfml-main are hidden (#1457,#1460)
- [Android] Fixed some
#defineflag problem (#1458) - [Android] Fix deadlock in main cleanup (#1265)
- [iOS] Modernized toolchain file (#1411)
- [iOS] Check that
<SFML/Main.hpp>is used (#1412) - [macOS] Add
-ObjCflag to fix static linking on macOS (#1485)
Window
Bugfixes
- [iOS] Use default supported rotations when none are specified (#1417)
- [iOS] Fixed autocomplete window overlaps keyboard (#1473,#1482)
- [Linux] Fixed dual monitor issue (#1226,#1238)
- [Linux] Fixed issue where fullscreen window didn't go over task bars on top and left on in Ubuntu (#1224)
- [Linux] Fixed the Unix clipboard implementation causing an abort due to internal data races in Xlib (#1437)
- [macOS] Added additional system cursors (#1401,#1413,#1425)
- [Windows] Fixed swapped colors for custom cursors (#1464,#1465,#1491)
Graphics
Bugfixes
- Fixed a bug in which a
sf::RenderTexturewould not be re-activated after being re-created (#1438) - Fixed
sf::RenderTextureImplFBO's destructor incorrectly triggering deletion of othersf::RenderTextureImplFBO's active FBOs (#1440) - Fix
sf::RenderWindow::setActiveincorrectly trying to unbind an FBO during deactivation (#1442) - Fixed
sf::RenderTexture::display()dereferencing a NULL pointer when being called beforesf::RenderTexture::create()(#1446) - Fixed bug in
sf::Textwhen applying an outline color/thickness (#1176) - Squash duplicated
sf::Fontglyphs to single chars (#1461) - Fixed two issues with glyph sub-pixel positioning (#1452)
- Reduced context locking & unlocking while creating textures (#1459)
- Fixed the error message when the wrong bitmap font size is selected (#1456,#1474,#1492)
Audio
Bugfixes
- Fixed performance issue with reading WAV files (#1450)
Assets15
Uh oh!
There was an error while loading.Please reload this page.
SFML 2.5.0
Changelog
SFML 2.5.0
Also available on the website:https://www.sfml-dev.org/changelog.php#sfml-2.5.0
General
- Replaced FindSFML.cmake with SFMLConfig.cmake (#1335)
- Markdown'd and updated readme, changelog, contributing and license files (#1196,#1368,#1317)
- Improve packaging support (#1173)
- Added Tagfile generation and search (#1327)
- Added CMake variables to select the modules to be built (#798,#800)
- Do not install extlibs if
SFML_USE_SYSTEM_DEPSis true (#1236,#1237) - Fixed various type conversion/comparison warnings (#1325)
- [Android] Increased minimum API version to 14 (#1362)
- [Android] Removed custom toolchain and added support for the newest NDK version and Gradle (#1350,#1393)
- [iOS] Updated the binary libs from exlibs/libs-ios (#1207,#1209)
- [iOS] Use a CMake toolchain file for iOS build (#1268,#1269)
- [iOS] Install extlibs if needed (#1348)
- [iOS] Drop 32 bit support (#1374)
- [iOS] Force correct iOS architecture for cmake (#1373,#1377)
- [iOS] Added iOS example (#1378)
- [macOS] Fixed launch of cocoa examples (#1334)
- [macOS] Improved application signing process (#1020,#1036,#1194)
- [macOS] Improved CMake script (#1215,#1371)
- [macOS] Use
-stdlib=libc++(#1361) - [OpenBSD] Added support for OpenBSD (#1330)
System
Bugfixes
- Added protected destructor to
sf::NonCopyableto prevent possible resource leaks (#1125,#1161) - Fixed crash when
sf::Clockis constructed in a global scope (#1258)
Window
Features
- Implemented Cursor API (#269,#784,#827)
- Implemented Clipboard API (#715,#1204,#1221)
- Renamed a few key codes (#1395)
- Added joystick example (#1363)
- [Windows] Added support for interfacing with joysticks via DirectInput when it is available (#1251,#1326)
- [Windows] Fix discrete GPU preference symbols being exported from the wrong place (#1192,#1406)
Bugfixes
- [Android] Return correct key code for delete/backspace (#1309,#1362)
- [iOS] Don't need to find vorbisfile or vorbisenc (#1347)
- [Linux] Fixed
sf::Window::getPosition()returning incorrect position because of differences in window managers (#1228,#1266) - [Linux] Fix X11 key repeat handling not filtering out events from other windows (#1223,#1230,#1291)
- [Linux] Restore fullscreen of a non-visible window (#1339)
- [macOS] Fixed window menu not working (#1091,#1180,#1193)
- [macOS] Fixed crash with application messing hardware detection e.g. TeamViewer (#1323)
- [macOS] Added support for (some) Hat/POV axis (#1248)
- [Windows] Prevent uninitialized read by zeroing memory (#1264)
- [Windows] Fixed modifier keys handling (#1357)
Graphics
Features
- Implemented additional line spacing and letter spacing in
sf::Text(#928,#1366) - Added
sf::VertexBufferclass (#1308) - Added GPU local texture copying support, allowing performance optimizations and texture swapping (#1119,#1319,#1320)
- Optimize performance by skipping
glTexCoordPointer()call if not needed (#1015) - Generate shape outline vertices only if necessary (#925,#1356)
- Removed dependency to libjpeg, stb_image_write now supports writing JPEG files (#1278,#1279)
- Enable comparing
sf::Transformand optimize resetting OpenGL back to the identity matrix (#1298) - Added missing
setActive()virtual method tosf::RenderTarget(#1157) - Updated stb_image to v2.16 and stb_image_write to v1.07 (#1270)
- Added
sf::RenderTexturestencil and multisampling support (#1274,#1285) - Added example demonstrating
sf::VertexBuffer,sf::Shaderandsf::Threadusage (#1352) - Optimized
sf::RenderTextureperformance (#1379)
Bugfixes
- Properly free memory in
sf::Font::cleanup()(#1119) - Fixed memory leak in
sf::Font(#1216) - Fix OpenGL texture coordinate pointer not being updated correctly under certain conditions (#1297)
- Fix for broken text when the font is reloaded (#1345)
- Fix memory leak in
sf::Text(#1233,#1360) - Fixed strict aliasing punning warning when generating the key of a glyph in Font.cpp (#1187,#1396)
- Fixed OpenGL version string being parsed incorrectly on some platforms (#1249,#1390)
- [macOS] Worked around render target bug (#1132,#1342)
- [Windows] Replaced time-based joystick poll with a hardware event handler (#1179,#1195,#1198,#1199,#1421)
Audio
Features
- Added loop point support to
sf::Music(#177,#629) - Added support for the extensible PCM wave file format (#1296)
- [iOS] Enable audio module (#1338)
Bugfixes
- Fixed inconsistent seek behavior in
sf::SoundStream(#1118) - Fixed stack overflow in
sf::SoundStream::fillAndPushBuffer()(#1154) - Fixed seeking quirks in the FLAC reader (#966,#1162)
- Allow polymorphism with
sf::SoundSource(#1185) - Fixed WAV file writer writing wrong header values (#1280,#1281)
- Small bugfix to argument of
alcCaptureOpenDevice()(#1304,#1305) - [iOS] Find OpenAL correctly (#1263,#1376)
- [Windows] Updated OpenAL Soft to 1.18.1 fixing crashes (#1247,#1260)
Network
Features
Bugfixes
Assets2
Uh oh!
There was an error while loading.Please reload this page.