mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-03-24 19:53:55 +08:00
Implement this function as a trivial wrapper for wglGetProcAddress(), glXGetProcAddressARB() or eglGetProcAddress() depending on the platform (currently not implemented for macOS). Account for the known bug in some Windows OpenGL drivers by checking for manifestly invalid return values and handling them as null. Use the new function in wxGL code itself and in the pyramid sample. Closes #9215. Closes #26209.