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
This commit is contained in:
Michael Fabian Dirks 2016-11-27 07:44:39 +01:00 committed by jp9000
parent 85269fb5b2
commit db7632e7fd

View File

@ -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)