mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Adding AmdPowerXpressRequestHighPerformance
Adding AmdPowerXpressRequestHighPerformance This will allow AMD drivers to detect the request to use the dGPU instead of the iGPU on compatible hybrid graphics systems. Reference: https://community.amd.com/thread/169965
This commit is contained in:
parent
7cab8b733f
commit
4e443ed857
@ -68,8 +68,11 @@ static VideoBackendBase* s_default_backend = nullptr;
|
||||
// Nvidia drivers >= v302 will check if the application exports a global
|
||||
// variable named NvOptimusEnablement to know if it should run the app in high
|
||||
// performance graphics mode or using the IGP.
|
||||
// AMD drivers >= 13.35 do the same, but for the variable
|
||||
// named AmdPowerXpressRequestHighPerformance instead.
|
||||
extern "C" {
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user