1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-25 08:39:41 +00:00

Maybe force dedicated GPU on dual-AMD machines

This commit is contained in:
AnyOldName3 2021-01-18 18:13:57 +00:00 committed by AnyOldName3
parent 6669438f7f
commit 7b482bc2e2

View file

@ -15,6 +15,8 @@
#include <windows.h> #include <windows.h>
// makes __argc and __argv available on windows // makes __argc and __argv available on windows
#include <cstdlib> #include <cstdlib>
extern "C" __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
#endif #endif
#if (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix)) #if (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix))