Try to enforce the use of a high performance NVIDIA / ATI GPU
on dual graphic card laptops.
This commit is contained in:
parent
1fb3d00932
commit
3b5d1d0e25
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
#elif _WIN32
|
||||
#include <Windows.h>
|
||||
#pragma comment(lib, "user32.lib")
|
||||
extern "C" {
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
|
Loading…
Reference in a new issue