/* idea
RenderImage image;
image.Create(800, 600);
*/
I have a render image (slightely outdated SFML 2.0). If I draw into it with shader and then draw into window it works ok.
image.Clear();
image.Draw(background , shader);
image.Display();
sf::Sprite sprite(image.GetImage());
window.Draw(sprite);
If I try to set shader in the second call Y coordinate is flipped in result shader
image.Clear();
image.Draw(background);
image.Display();
sf::Sprite sprite(image.GetImage());
window.Draw(sprite, shader);
Why ?