>Hence, it's meaningless to make a glGetProcAddress call
>until you know that the function you are querying exists
>and is supported by at least one of the contexts you are
>rendering to.

Isn't this an argument in favor of context-dependent pointers?  8-)


By the way, having recently written some application code which queries
extension entry points for both Windows and GLX (based on the previous
spec), let me re-iterate that (a) the code to support per-context points is
trivial, and (b) it must be written ayway, for the Windows platform.  The
difference between the two, from a portability standpoint, is as follows:

    #ifdef WIN32
    #define glGetProcAddress wglGetProcAddress
    #else
    #define APIENTRY
    #endif

Then the subsequent code just called glGetProcAddress and managed
per-context pointers.

Reply via email to