Skip to content

Commit 8bb3e53

Browse files
committed
Disable Nahimic code injection.
1 parent 5efd124 commit 8bb3e53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform/windows/os_windows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
extern "C" {
7070
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
7171
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
72+
__declspec(dllexport) void NoHotPatch() {} // Disable Nahimic code injection.
7273
}
7374

7475
// Workaround mingw-w64 < 4.0 bug

0 commit comments

Comments
 (0)