mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
FS#157 - Disable implicit conversion from sf::Image to sf::Sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1425 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
39afb72c4e
commit
f30c2871fc
@ -61,7 +61,7 @@ public :
|
||||
/// \param Col : Color of the sprite (white by default)
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Sprite(const Image& Img, const Vector2f& Position = Vector2f(0, 0), const Vector2f& Scale = Vector2f(1, 1), float Rotation = 0.f, const Color& Col = Color(255, 255, 255, 255));
|
||||
explicit Sprite(const Image& Img, const Vector2f& Position = Vector2f(0, 0), const Vector2f& Scale = Vector2f(1, 1), float Rotation = 0.f, const Color& Col = Color(255, 255, 255, 255));
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Change the image of the sprite
|
||||
|
Loading…
Reference in New Issue
Block a user