Fix MinGW-w64 build maybe

This commit is contained in:
wheremyfoodat 2023-07-12 20:01:47 +03:00
parent 334662c0a5
commit 4f08a2dd7a

View file

@ -7,8 +7,8 @@
// Gently ask to use the discrete Nvidia/AMD GPU if possible instead of integrated graphics
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 1;
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
}
#endif