Fixed a reference in the documentation of Shader
This commit is contained in:
parent
f2ccc64536
commit
b21039452e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user