Fix MinGW-w64 build maybe
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// Gently ask to use the discrete Nvidia/AMD GPU if possible instead of integrated graphics
|
// Gently ask to use the discrete Nvidia/AMD GPU if possible instead of integrated graphics
|
||||||
extern "C" {
|
extern "C" {
|
||||||
_declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||||
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
|
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user