mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
SFML mainline mirror
c80cbb9c97
GUI toolkits such as wxWidgets and Qt provide their own NSAutoreleasePool objects. To avoid pool corruption, it is required that the pools be nested, which the previous implementation did not guarantee. Furthermore, autorelease pools should always be drained in the same context (function, loop, etc.) that they are created, which was not the case with the previous implementation (https://developer.apple.com/documentation/foundation/nsautoreleasepool). This commit removes long-lived autorelease pools, and instead each function that calls into the Cocoa API creates its own autorelease pool (using the new C++ AutoreleasePool wrapper object). Should fix crashes in issue #1549 and similar. |
||
---|---|---|
.github | ||
cmake | ||
doc | ||
examples | ||
extlibs | ||
include/SFML | ||
src/SFML | ||
test | ||
tools | ||
.editorconfig | ||
.gitattributes | ||
changelog.md | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
license.md | ||
readme.md |
SFML — Simple and Fast Multimedia Library
SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
Authors
- Laurent Gomila — main developer (laurent@sfml-dev.org)
- Marco Antognini — OS X developer (hiura@sfml-dev.org)
- Jonathan De Wachter — Android developer (dewachter.jonathan@gmail.com)
- Jan Haller (bromeon@sfml-dev.org)
- Stefan Schindler (tank@sfml-dev.org)
- Lukas Dürrenberger (eXpl0it3r@sfml-dev.org)
- binary1248 (binary1248@hotmail.com)
- Artur Moreira (artturmoreira@gmail.com)
- Mario Liebisch (mario@sfml-dev.org)
- And many other members of the SFML community
Download
You can get the latest official release on SFML's website. You can also get the current development version from the Git repository.
Install
Follow the instructions of the tutorials, there is one for each platform/compiler that SFML supports.
Learn
There are several places to learn SFML:
- The official tutorials
- The online API documentation
- The community wiki
- The community forum (French)
Contribute
SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines.