Open KierannCode opened 2 years ago
The rendering thread becomes very slow with any software when the window is maximized.
This is mainly due to the fact that the rendering is done on a local surface which is copied on the window, and must be done on every frame.
A solution is to use SDL_Renderer structure to render directly on the window surface if possible.
The resolution of this issue may solve #1
The rendering thread becomes very slow with any software when the window is maximized.
This is mainly due to the fact that the rendering is done on a local surface which is copied on the window, and must be done on every frame.
A solution is to use SDL_Renderer structure to render directly on the window surface if possible.