mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 13:55:58 +08:00
Moved the NVIDIA and AMD hints to the slic3r.exe wrapper.
This commit is contained in:
parent
0dae43e4bc
commit
67126d6f48
@ -5,10 +5,6 @@
|
|||||||
#elif _WIN32
|
#elif _WIN32
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#pragma comment(lib, "user32.lib")
|
#pragma comment(lib, "user32.lib")
|
||||||
extern "C" {
|
|
||||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
|
||||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Slic3r { namespace GUI {
|
namespace Slic3r { namespace GUI {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user