Hi.
it is possible through code, determine which GPU a game should use?
Many laptops use 2 GPUs (integrated intel and dedicated nvidia for example).
If I run a game as "factorio", the laptop automatically knows to run that game with the Nvidia GPU.
On the contrary, if I have a game programmed with SFML, when it runs, it does so with the integrated GPU.
I know it is possible to change this manually in the Nvidia settings, but I would like to know if there is any way to select the GPU automatically. when creating videomode maybe?