mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed broken RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1226 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
fc4867c586
commit
b4edcffc43
@ -123,6 +123,7 @@ void RenderImage::Display()
|
|||||||
bool pixelsFlipped = myRenderImage->UpdateTexture(myImage.myTexture);
|
bool pixelsFlipped = myRenderImage->UpdateTexture(myImage.myTexture);
|
||||||
myImage.myPixelsFlipped = pixelsFlipped;
|
myImage.myPixelsFlipped = pixelsFlipped;
|
||||||
myImage.myNeedArrayUpdate = true;
|
myImage.myNeedArrayUpdate = true;
|
||||||
|
myImage.myNeedTextureUpdate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user