SFML is a more mature library. It works well, perhaps even better than the SDL for Windows, Linux, Mac OS:
SFML is compiled on standard platforms such as Windows (98, 2000, XP, Vista) and Unix systems (Linux, Mac OS X). As the library grows, support for more operating systems will be added.
In addition, SFML supports hardware acceleration from the very beginning, while with SDL there are some doubts about it.
However, SDL now works on larger platforms, including mobile.
And using the C language, you cannot take advantage of all the object-oriented qualities of SFML.
So you should use SDL with C (or for mobile platforms) and SFML with C ++.
So you want to do 2D material? Do not rack your brains with OpenGL, just use SFML! It uses OpenGL and hardware acceleration inside for 2D.
source share