Add a common include file.

This commit is contained in:
Nemirtingas 2020-07-16 11:56:24 +02:00
parent 25ee1dfa52
commit fe9bbd1104
36 changed files with 236 additions and 250 deletions

View file

@ -108,7 +108,7 @@ OpenGL_Hook::OpenGL_Hook():
hooked(false),
wglSwapBuffers(nullptr)
{
_library = LoadLibrary(DLL_NAME);
_library = LoadLibrary(OPENGL_DLL);
}
OpenGL_Hook::~OpenGL_Hook()
@ -136,7 +136,7 @@ OpenGL_Hook* OpenGL_Hook::Inst()
const char* OpenGL_Hook::get_lib_name() const
{
return DLL_NAME;
return OPENGL_DLL;
}
void OpenGL_Hook::loadFunctions(wglSwapBuffers_t pfnwglSwapBuffers)