diff --git a/overlay_experimental/Hook_Manager.cpp b/overlay_experimental/Hook_Manager.cpp index aaa4e82..ca6523c 100644 --- a/overlay_experimental/Hook_Manager.cpp +++ b/overlay_experimental/Hook_Manager.cpp @@ -420,7 +420,7 @@ void Hook_Manager::hook_opengl() decltype(wglMakeCurrent)* wglMakeCurrent = nullptr; if (library != nullptr) { - _wglMakeCurrent = (decltype(_wglMakeCurrent))GetProcAddress(library, "wglMakeCurrent"); + wglMakeCurrent = (decltype(wglMakeCurrent))GetProcAddress(library, "wglMakeCurrent"); } if (wglMakeCurrent != nullptr) {