mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Update OpenGLContext.cpp
also cast glGetError via void *
This commit is contained in:
parent
71f0ac3144
commit
fd7895f880
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ OpenGLContext::CreateFunctions OpenGLContext::GetCreateFunctions(HWND window)
|
|||
HMODULE opengl32 = LoadLibrary("opengl32.dll");
|
||||
if (opengl32)
|
||||
{
|
||||
functions.error = reinterpret_cast<ptr_glError>(GetProcAddress(opengl32, "glGetError"));
|
||||
functions.error = reinterpret_cast<ptr_glError>((void*)GetProcAddress(opengl32, "glGetError"));
|
||||
FreeLibrary(opengl32);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue