mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Try to enforce the use of a high performance NVIDIA / ATI GPU
on dual graphic card laptops.
This commit is contained in:
1 parent
1fb3d00932
commit
3b5d1d0e25
1 file changed
+4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user