Open KierannCode opened 2 years ago
The rendering thread generates warnings when the surface is resized.
This is due to concurrency problems, when the window surface is resized and the rendering thread tries to display a new frame.
SDL doesn't provides any known mean to know whether or not the surface is being resized, it only provides the information after the resizing occurred.
One solution may be to use SDL_Renderer structure instead, which may be thread-safe.
This issue may be solved along #2
The rendering thread generates warnings when the surface is resized.
This is due to concurrency problems, when the window surface is resized and the rendering thread tries to display a new frame.
SDL doesn't provides any known mean to know whether or not the surface is being resized, it only provides the information after the resizing occurred.
One solution may be to use SDL_Renderer structure instead, which may be thread-safe.