mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Minor corrections in API doc
This commit is contained in:
parent
8d0da1d9d6
commit
1a8488bd7b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user