Skip to content

Commit

Permalink
Merge pull request #99388 from bruvzg/disable_nahimic
Browse files Browse the repository at this point in the history
Disable Nahimic code injection.
  • Loading branch information
Repiteo committed Nov 18, 2024
2 parents a46abc4 + 8bb3e53 commit cc48a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/windows/os_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc48a22

Please sign in to comment.