diff --git a/include/SFML/Graphics/Shader.hpp b/include/SFML/Graphics/Shader.hpp index fef1bec0..664dd865 100644 --- a/include/SFML/Graphics/Shader.hpp +++ b/include/SFML/Graphics/Shader.hpp @@ -822,7 +822,7 @@ private: /// object being drawn (which cannot be known in advance). /// /// To apply a shader to a drawable, you must pass it as an -/// additional parameter to the \ref Window::draw() draw() function: +/// additional parameter to the \ref RenderWindow::draw function: /// \code /// window.draw(sprite, &shader); /// \endcode