Fixed a reference in the documentation of Shader

This commit is contained in:
Marco Antognini 2018-04-29 18:40:39 +02:00 committed by Lukas Dürrenberger
parent f2ccc64536
commit b21039452e

View File

@ -822,7 +822,7 @@ private:
/// object being drawn (which cannot be known in advance). /// object being drawn (which cannot be known in advance).
/// ///
/// To apply a shader to a drawable, you must pass it as an /// 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 /// \code
/// window.draw(sprite, &shader); /// window.draw(sprite, &shader);
/// \endcode /// \endcode