It seems that glXGetProcAddress() is capable of returning core OpenGL functions addresses (I tested it getting glBegin’s address).
I’ve always thought it was only for extensions functions…
Is that standard ? Do wglGetProcAddress() also works for core GL ?
The WGL one is specifically designed to return pointers to GL functions. The Win32 one only returns functions that are exposed as exports. As Shag said, NVIDIA does not expose their functions as export, so you shouldn’t be able to load any functions directly from their driver with GetProcAddress.
I believe you can load functions from opengl32.dll, cause they are exports. But that doesn’t help you if you want to load any extension or OpenGL 1.2+ function, cause there are no such functions in opengl32.dll.