Replaced by loadFromPixelData(texture.getSize(), texture.copyToImage().getPixelsPtr()) in TGUI 1.1 to make it more clear that this is a memory-intensive function that should be avoided.
Replaced by using Texture() and loadFromPixelData(texture.getSize(), texture.copyToImage().getPixelsPtr()) in TGUI 1.1 to make it more clear that this is a memory-intensive constructor that should be avoided.