My program makes a scene with flying particles based on one idea from one example. I already don't remember where it goes from.
I use OpenTK.GameWindow
And now I have a strange (at least for me) performance problem.
The program starts in full screen mode, it works smooth and nice, but after some seconds the CPU load increases and uses permanently one core for 100%. (see picture 1)
If I start the program and immediately switch to another window (f.e. task manager) putting the GL-window to work on the background, but still visible behind, it doesn't load CPU, only some percents. (see pictire 2).
I tested it and during many minutes it works constantly with very low CPU load.
The behavior doesn't depend on a number of objects: same for 50 and 5000 particles.
I cannot load the code example. It writes me that the spam filter is triggered.
I will try to upload it to a comment.