diff --git a/include/SFML/Graphics/RenderTexture.hpp b/include/SFML/Graphics/RenderTexture.hpp index f167946ba..031b70d60 100644 --- a/include/SFML/Graphics/RenderTexture.hpp +++ b/include/SFML/Graphics/RenderTexture.hpp @@ -216,7 +216,7 @@ private : /// // Create a new render-texture /// sf::RenderTexture texture; /// if (!texture.create(500, 500)) -/// return -1 +/// return -1; /// /// // The main loop /// while (window.isOpen())