diff --git a/include/SFML/Graphics/Drawable.hpp b/include/SFML/Graphics/Drawable.hpp index 4c73f1a5..12ed77aa 100644 --- a/include/SFML/Graphics/Drawable.hpp +++ b/include/SFML/Graphics/Drawable.hpp @@ -83,11 +83,11 @@ private : /// of derived classes to be drawn to a sf::RenderTarget. /// /// All you have to do in your derived class is to override the -/// Draw virtual function. +/// draw virtual function. /// /// Note that inheriting from sf::Drawable is not mandatory, -/// but it allows this nice syntax "window.Draw(object)" rather -/// than "object.Draw(window)", which is more consistent with other +/// but it allows this nice syntax "window.draw(object)" rather +/// than "object.draw(window)", which is more consistent with other /// SFML classes. /// /// Example: @@ -106,7 +106,7 @@ private : /// target.draw(m_sprite, states); /// /// // ... or use the low-level API -/// states.Texture = &m_texture; +/// states.texture = &m_texture; /// target.draw(m_vertices, states); /// /// // ... or draw with OpenGL directly