Hello everyone !
First of all, I'm pretty new to SFML and Cpp so please bare with me
I started developing a GUI for a project of mine some days ago with SFML 1.6. I then started to realize I needed some functions that were not present there. sf::RenderImage is exactly what I needed to do a buffer and then draw it on the screen.
My problem is that I want to resize my sf::RenderImage buffer each time I resize my widget on the screen. So I thought I could just redo buffer.Create(new X, new Y) all the time but it doesn't seem to resize anything : the rendered Image keeps the same size. I found a workaround by doing a sf::RenderImage that fills the whole screen but it isn't very clean..
Do I do something wrong ? Is it SFML 2 ? ^^