Permalink
Browse files

Merge pull request #10920 from hrydgard/opengl-default-gpu-amd

OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance
  • Loading branch information...
unknownbrackets committed Jun 6, 2018
2 parents 191af89 + 2c0c693 commit 88c40442e3a75a169fa730b7269a0d20e1036105
Showing with 5 additions and 0 deletions.
  1. +5 −0 Windows/main.cpp
View
@@ -73,6 +73,11 @@ extern "C" {
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
}
// Also on AMD PowerExpress: https://community.amd.com/thread/169965
extern "C" {
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
CDisasm *disasmWindow[MAX_CPUCOUNT] = {0};
CGEDebugger *geDebuggerWindow = 0;
CMemoryDlg *memoryWindow[MAX_CPUCOUNT] = {0};

0 comments on commit 88c4044

Please sign in to comment.