mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #99388 from bruvzg/disable_nahimic
Disable Nahimic code injection.
This commit is contained in:
commit
cc48a22b29
@ -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
Block a user