summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnyOldName3 <krizdjali+gitlab@gmail.com>2021-01-18 18:13:57 +0000
committerAnyOldName3 <krizdjali@gmail.com>2021-09-11 19:23:27 +0100
commit7b482bc2e27bd11c6d143149aaf556a5ae882764 (patch)
tree56dcc2fea55132dc9c8e29987cf07189c9ba8841
parent6669438f7fdc0e2bc653f3cdf0dc6aebc4532634 (diff)
Maybe force dedicated GPU on dual-AMD machinesTisIPickles27-test
-rw-r--r--apps/openmw/main.cpp2
1 files changed, 2 insertions, 0 deletions
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 <windows.h>
// makes __argc and __argv available on windows
#include <cstdlib>
+
+extern "C" __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
#endif
#if (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix))