Browse Source

UI: Use dedicated GPU on Hybrid AMD GPU systems

This enables use of the dedicated GPUs for AMD PowerXpress systems.
Especially important for Adapter selection, as usually the dedicated GPU
is hidden/inactive until needed.

Closes jp9000/obs-studio#706
Michael Fabian Dirks 9 years ago
parent
commit
db7632e7fd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      UI/obs-app.cpp

+ 5 - 0
UI/obs-app.cpp

@@ -67,6 +67,11 @@ string opt_starting_collection;
 string opt_starting_profile;
 string opt_starting_scene;
 
+// AMD PowerXpress High Performance Flags
+#ifdef _MSC_VER
+extern "C" __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
+#endif
+
 QObject *CreateShortcutFilter()
 {
 	return new OBSEventFilter([](QObject *obj, QEvent *event)