From 7b482bc2e27bd11c6d143149aaf556a5ae882764 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Mon, 18 Jan 2021 18:13:57 +0000 Subject: [PATCH] Maybe force dedicated GPU on dual-AMD machines --- apps/openmw/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index de0fb0df03..8ac725ee86 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -15,6 +15,8 @@ #include // makes __argc and __argv available on windows #include + +extern "C" __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001; #endif #if (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix))