Merge pull request #14312 from JoshuaVandaele/wglDestroyPbufferARB

WGL: Correctly load wglDestroyPbufferARB extension
This commit is contained in:
Jordan Woyak authored and GitHub committed 2026-01-31 16:45:19 -06:00
commit 16276928cc
1 file changed
+1 -1
+1 -1
View File
@@ -143,7 +143,7 @@ static void LoadWGLExtensions()
wglReleasePbufferDCARB = wglReleasePbufferDCARB =
reinterpret_cast<PFNWGLRELEASEPBUFFERDCARBPROC>(wglGetProcAddress("wglReleasePbufferDCARB")); reinterpret_cast<PFNWGLRELEASEPBUFFERDCARBPROC>(wglGetProcAddress("wglReleasePbufferDCARB"));
wglDestroyPbufferARB = wglDestroyPbufferARB =
reinterpret_cast<PFNWGLDESTROYPBUFFERARBPROC>(wglGetProcAddress("wglGetPbufferDCARB")); reinterpret_cast<PFNWGLDESTROYPBUFFERARBPROC>(wglGetProcAddress("wglDestroyPbufferARB"));
} }
static void ClearWGLExtensionPointers() static void ClearWGLExtensionPointers()