Answer the question
In order to leave comments, you need to log in
Why does memory and GPU load increase when minimizing a window created via SDL2?
Good afternoon, I encountered such a problem that when minimizing a window created through SDL2, the memory is clogged up to 1 GB and the GPU up to 90%, but when the window is re-deployed, the load drops.
In terms of code, it is standard, as from any simple tutorial on creating windows and a canvas.
And such problem happens if in a cycle something is drawn.
Answer the question
In order to leave comments, you need to log in
In such a code, in an endless loop, one core will be loaded to the fullest without even minimizing the window, do you have Windows or Linux, poppy?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question