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

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