1
Graphics / Re: Problems with Resizing RenderWindow/RenderTexture
« on: October 07, 2016, 06:15:00 pm »
That is what I meant by not stretching. What I was trying to ask is if that method will achieve the same effect as recreating the window.
I am trying to create a user friendly GUI library with SFML as the base. I would like it to be threaded as it would be more user-friendly if the library handled the framerate (when the draw function is called) so it only updates when needed.
As I'm typing this, I realize the user could call the draw function at their own framerate, and the library can decide if it actually needs an update.
I've believe I've thought of a few better options, but I will keep trying to recreate my problem on a small scale if you don't mind coming back to this post in the future
One more question though, theoretically is there any reason that this wouldn't work: if all of the SFML objects are created (and drawn on) on one thread (that isn't the main thread) and are then only modified through requests from another thread. Basically, can SFML work entirely on a secondary thread?
Thanks for the help, btw!