Merge pull request #14312 from JoshuaVandaele/wglDestroyPbufferARB

WGL: Correctly load wglDestroyPbufferARB extension
This commit is contained in:
Jordan Woyak 2026-01-31 16:45:19 -06:00 committed by GitHub
commit 16276928cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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()