From f8955189fad5dfbd3097a6245c595ce69bf1c246 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Mon, 3 Jan 2011 22:32:39 +0000 Subject: [PATCH] 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 --- src/SFML/Graphics/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Image.cpp b/src/SFML/Graphics/Image.cpp index 46170cde..972de13b 100644 --- a/src/SFML/Graphics/Image.cpp +++ b/src/SFML/Graphics/Image.cpp @@ -71,7 +71,7 @@ Resource() 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);