WGL: Correctly load wglDestroyPbufferARB extension

This commit is contained in:
Joshua Vandaële 2026-01-31 10:36:55 +01:00
parent b102018651
commit e6bc8fb342
No known key found for this signature in database
GPG Key ID: 6BB95AF71EB0F406

View File

@ -143,7 +143,7 @@ static void LoadWGLExtensions()
wglReleasePbufferDCARB =
reinterpret_cast<PFNWGLRELEASEPBUFFERDCARBPROC>(wglGetProcAddress("wglReleasePbufferDCARB"));
wglDestroyPbufferARB =
reinterpret_cast<PFNWGLDESTROYPBUFFERARBPROC>(wglGetProcAddress("wglGetPbufferDCARB"));
reinterpret_cast<PFNWGLDESTROYPBUFFERARBPROC>(wglGetProcAddress("wglDestroyPbufferARB"));
}
static void ClearWGLExtensionPointers()