mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Add a common include file.
This commit is contained in:
parent
25ee1dfa52
commit
fe9bbd1104
36 changed files with 236 additions and 250 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue