Fixed render-images flipped when copied to another sf::Image
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1768 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
f4fa8b1fbc
commit
f8955189fa
@ -71,7 +71,7 @@ Resource<Image>()
|
||||
myPixels = copy.myPixels;
|
||||
myTextureUpdated = true;
|
||||
myArrayUpdated = true;
|
||||
myPixelsFlipped = copy.myPixelsFlipped;
|
||||
myPixelsFlipped = false; // pixels can't be flipped, this is handled in copy.EnsureArrayUpdate()
|
||||
|
||||
// Create the texture
|
||||
CreateTexture(myWidth, myHeight);
|
||||
|
Loading…
Reference in New Issue
Block a user