Hi,
I have a laptop with an integrated Intel and a dedicated AMD graphics card. When I want my game to use the dedicated one, I have to add a profile in the AMD settings, since
extern "C" { _declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001; }
does not have any effect.
But how do you add a game profile automatically? And how do you reliably force Windows to use a dedicated NVIDIA graphics card for your game?