Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9073 from darkain/patch-1
Adding AmdPowerXpressRequestHighPerformance
  • Loading branch information
JMC47 committed Sep 16, 2020
2 parents a7b9e68 + 4e443ed commit 6553082
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Core/VideoCommon/VideoBackendBase.cpp
Expand Up @@ -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

Expand Down

0 comments on commit 6553082

Please sign in to comment.