diff options
| author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-11-18 12:58:38 +0200 |
|---|---|---|
| committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-11-18 13:00:55 +0200 |
| commit | 8bb3e5360ed21ae89d53cdc3fb1c0dbc756262bb (patch) | |
| tree | 67db45b342c6b3dd1b040b265811c1fe874b280f | |
| parent | 5efd124ca10bf46df62fa2441d80589777e54a5a (diff) | |
| download | redot-engine-8bb3e5360ed21ae89d53cdc3fb1c0dbc756262bb.tar.gz | |
Disable Nahimic code injection.
| -rw-r--r-- | platform/windows/os_windows.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index fcc4655cbe..6423af9509 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -69,6 +69,7 @@ extern "C" { __declspec(dllexport) DWORD NvOptimusEnablement = 1; __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; +__declspec(dllexport) void NoHotPatch() {} // Disable Nahimic code injection. } // Workaround mingw-w64 < 4.0 bug |
