gl/context/wgl: implement a better get_proc_address()
authorMatthew Waters <matthew@centricular.com>
Thu, 20 May 2021 12:52:56 +0000 (22:52 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 21 May 2021 04:12:11 +0000 (14:12 +1000)
commit512160a1c8ecfd55b44b5071026d3f261feeca4d
tree959f43289e4d0656128b842bf52849d75e2f6702
parentf8510ae3c8a585b8ef393e3788a511fa6a2dbe8f
gl/context/wgl: implement a better get_proc_address()

Look in opengl32.dll first, then wglGetProcAddress(), and only then
possibly from any linked in libraries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1165>
gst-libs/gst/gl/wgl/gstglcontext_wgl.c