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:
LaurentGom 2011-01-03 22:32:39 +00:00
parent f4fa8b1fbc
commit f8955189fa

View File

@ -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);