mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
4c4e961f39
GitHub will use these templates to pre-fill created issues and pull requests. This should help to get people to provide better information on issues or direct them to the forum when needed and hint people to provide example/test code for pull requests.
1.4 KiB
1.4 KiB
Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)
- Has this change been discussed on the forum or in an issue before?
- Does the code follow the SFML Code Style Guide?
- Have you provided some example/test code for your changes?
- If you have additional steps which need to be performed list them as tasks!
Description
Please describe your pull request.
This PR is related to the issue #
Tasks
- Tested on Linux
- Tested on Windows
- Tested on macOS
- Tested on iOS
- Tested on Android
How to test this PR?
Describe how to best test these changes. Please provide a minimal, complete and verifiable example if possible, you can use the follow template as a start:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(1280, 720), "Minimal, complete and verifiable example");
window.setFramerateLimit(60);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.display();
}
}