so maybe you should expound more on that topic.
While loading, multiple subsystems are initialized. They have access to the
RenderWindow via const reference in order to query the window size for their tasks. I'm not sure whether it is a good idea to allow resizing the window during this process - doesn't seem that this will
always lead to a valid state.
Well, no bugs occured yet. But I don't think that this is always true. To be honest, I'm scared whether side effects could happen... Querying the window size first and then passing the resolution to all systems doesn't seem to be a good solution either. I'd need to track the latest resize event and apply it to all systems after the loading is done - in order to guarantee that all systems work with the correct window size.
/EDIT: One of the systems is creating some
RenderTexture's based on the window size. If the window resizes, possibly one render texture would be larger or smaller than the others - which is a problem. Btw the loading state is using a thread for loading, so all input events
are handled.