For whatever reason, I'm messing around with manual OpenGL extension loading.
Every tutorial I've found recommends first querying the extension string, then parsing it into a list of extensions, and then finally loading the function pointers for supported extensions. It seems to me that this whole process could be reduced to just getting the function pointers and then checking for any NULL
s returned by wglGetProcAddress
or equivalent.
My question is: What purpose does the intermediate query step serve? Is it possible for a function to be unsupported but for *GetProcAddress
to return a non-NULL
pointer?