Fixed sf::Texture copy constructor
This commit is contained in:
parent
d541f5f5b0
commit
1e2aca6e49
@ -61,7 +61,8 @@ myTexture (0),
|
||||
myIsSmooth (copy.myIsSmooth),
|
||||
myPixelsFlipped(false)
|
||||
{
|
||||
LoadFromImage(copy.CopyToImage());
|
||||
if (copy.myTexture)
|
||||
LoadFromImage(copy.CopyToImage());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user