mirror of https://github.com/godotengine/godot
Disable Nahimic code injection.
This commit is contained in:
parent
5efd124ca1
commit
8bb3e5360e
|
|
@ -69,6 +69,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||||
|
__declspec(dllexport) void NoHotPatch() {} // Disable Nahimic code injection.
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workaround mingw-w64 < 4.0 bug
|
// Workaround mingw-w64 < 4.0 bug
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue