diff options
author | bubnikv <bubnikv@gmail.com> | 2019-06-13 18:42:55 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-06-13 18:42:55 +0300 |
commit | d750d4f9255bfb388ba7b53d3a366ac16d84a7d0 (patch) | |
tree | 15be109e69f0a88279556c094446d69dc389d542 /src/PrusaSlicer.cpp | |
parent | 9b7bb41db5b949285d28206a4ff44078bce37ecf (diff) |
Re-enable high power graphics card on Windows.
This is a regression issue against 1.41.3
Diffstat (limited to 'src/PrusaSlicer.cpp')
-rw-r--r-- | src/PrusaSlicer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PrusaSlicer.cpp b/src/PrusaSlicer.cpp index a3247b929..2becb8071 100644 --- a/src/PrusaSlicer.cpp +++ b/src/PrusaSlicer.cpp @@ -7,10 +7,13 @@ #include <Windows.h> #include <wchar.h> #ifdef SLIC3R_GUI + extern "C" + { // Let the NVIDIA and AMD know we want to use their graphics card // on a dual graphics card system. __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; + } #endif /* SLIC3R_GUI */ #endif /* WIN32 */ |