mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 07:28:59 +08:00
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
@ -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…
x
Reference in New Issue
Block a user